4 ms·
LMDB implements a persistent transactional API around a B+ tree in just a few thousand lines of code. We put things in the kernel for several reasons - perform
by josephg 6y ago
LMDB implements a persistent transactional API around a B+ tree in just a few thousand lines of code.
We put things in the kernel for several reasons - performance, but also consistency and interoperability. If every program embeds its own database and its own semantics, its much harder to have programs share data.