4 ms·
He fails to mention that TokyoCabinet already supports ordering of the kv pairs through a function you provide to compare two keys. If you want to iterate over
by richcollins 18y ago
He fails to mention that TokyoCabinet already supports ordering of the kv pairs through a function you provide to compare two keys.
If you want to iterate over all foos ordered by some property they have you just structure the keys so they are ordered properly and then jump to the first value.
- antirez 18y agoThe approach of using an embedded interpreter to perform sorting is absolutely viable and sane. With Redis my aim is to build a data model and a set of operations that do not depend on an embedded interpreter.