3 ms·
lmdb has some special cases where you can store capnproto/flat-buffers objects and read without copying/deserializing!
by ddorian43 10y ago
lmdb has some special cases where you can store capnproto/flat-buffers objects and read without copying/deserializing!
- qwertyuiop924 10y agoReally? that could be useful...
- ddorian43 10y agoLMDB can hand you back a pointer to your object in the memory map, and we can easily use that pointer with Cap'n Proto without any calls to malloc(). source: https://news.ycombinator.com/item?id=12394385 https://news.ycombinator.com/item?id=12394385