3 ms·
TokyoCabinet is embedded through the http://github.com/edvakf/node-tokyocabinet http://github.com/edvakf/node-tokyocabinet node addon. It's used to implement s
by richcollins 16y ago
TokyoCabinet is embedded through the http://github.com/edvakf/node-tokyocabinet http://github.com/edvakf/node-tokyocabinet node addon.
It's used to implement storage (b-tree). Each vertex is a set of key value pairs in the following format:
pid/s/name (slot record)
pid/m/name (meta record)
pid/p/name (private record)
Since all keys are lexically ordered, you can efficiently iterate (and jump to) vertex records using a cursor.