erthink / libmdbx

One of the fastest embeddable key-value ACID database without WAL. libmdbx surpasses the legendary LMDB in terms of reliability, features and performance.
https://erthink.github.io/libmdbx/
Other
1.16k stars 110 forks source link

Add a batch get #236

Closed rouzier closed 2 years ago

rouzier commented 2 years ago

In order to reduce the function call overhead when iterating over the database return the batch of keys and values of the current page.

I have done something like this in mdb.

https://github.com/rouzier/openldap/commit/d5b99e94e228c55a8e8c19c277301893448bddad