in reply to Howto: Comparator for B-Tree in Kyoto Cabinet

Skimming the docs, it seems that there are only predefined comparators. That is, it's not obvious to me how to write your own. You have a few to choose from, which don't seem to be clearly documented.

So it seems Corion's idea is spot on: make your keys sort lexicographically.

-QM
--
Quantum Mechanics: The dreams stuff is made of

  • Comment on Re: Howto: Comparator for B-Tree in Kyoto Cabinet

Replies are listed 'Best First'.
Re^2: Howto: Comparator for B-Tree in Kyoto Cabinet
by Kraeze (Initiate) on Jul 03, 2015 at 11:54 UTC

    Hi QM,

    Thanks for looking through the docs for me. I feel more confident that I didn't miss anything. Thank you!