optimize (rev_)range(_entries) operations