News for hackers. Stuff that matters.
Re:Stevedekorte's vertex.js by niktech on Friday May 28, 2010 @08:21AM (#1386199)
How is Tokio Cabinet used? I was trying to find code that uses Tokyo Tyrant to interface with Tokyo Cabinet but didn't find any. I did find a compiled tokyocabinet.o object file - does anyone know where/how it's used since it's not compiled into Node as an extension?
Re:Stevedekorte's vertex.js by richcollins on Friday May 28, 2010 @11:25AM (#1386643)
TokyoCabinet is embedded through the 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.

Re:Stevedekorte's vertex.js by lpgauth on Friday May 28, 2010 @11:12AM (#1386604)
[OT] As anyone tried out Kyoto Cabinet?