You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like it would be easy to add a few methods to SingleStore et al to produce Iterators that go in reverse. I proposed this in mozilla/lmdb-rs#75, which if merged should make adding it to rkv a simple matter.
I'm going to try it in a fork, but I want to ask if there are any guidelines for interfaces that a maintainer could propose that would make my work more likely to be merged upstream. Adding iter_end and iter_from_reverse come to mind as a possibility, but it could also be implemented as a flag on iter_start and iter_from.
I need this for my project, specifically the ability to get the last key by sort order, which a reverse iterator would accomplish in a more general way.
The text was updated successfully, but these errors were encountered:
It seems like it would be easy to add a few methods to SingleStore et al to produce Iterators that go in reverse. I proposed this in mozilla/lmdb-rs#75, which if merged should make adding it to rkv a simple matter.
I'm going to try it in a fork, but I want to ask if there are any guidelines for interfaces that a maintainer could propose that would make my work more likely to be merged upstream. Adding
iter_end
anditer_from_reverse
come to mind as a possibility, but it could also be implemented as a flag oniter_start
anditer_from
.I need this for my project, specifically the ability to get the last key by sort order, which a reverse iterator would accomplish in a more general way.
The text was updated successfully, but these errors were encountered: