lmdb guarantees that when you have a pointer to a page it will remain there until the lifetime of the program. It has copy on write semantics when updating records. Notes are immutable anyways so this is not a problem.
Login to reply
Replies (2)
Immutability is awesome
So that was a lie. It only guarantees pointer validity during the transaction or until the next write, i guess lmdb moves pages around