-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose a safe low-level cursor API. #255
Comments
ooh, if that makes multiget possible I'm really looking forward to it! |
Hey @MathGeniusJodie, @oXtxNt9U, @sebastijankuzner, and @Nuhvi 👋 It's an open-source repository. Feel free to propose solutions though play.rust-lang.org (before implementation) and probably directly expose the internal Cursor type and make it more safe or wrap it if necessary. Have a nice day 🌞 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The LMDB cursor API is quite powerful; something similar should be exposed by
heed
. TheRwIter
API gets close, but isunsafe
and does not handle seeking to arbitrary keys. The API should allow the following operations:A full cursor API would also let us efficiently implement an API similar to
HashMap::entry
(see this comment).The text was updated successfully, but these errors were encountered: