Open nolanderc opened 7 months ago
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 🌞
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).