in reply to Howto: Comparator for B-Tree in Kyoto Cabinet
The easiest approach would be to make your keys lexically sortable by padding them:
my $key = sprintf "%010d-%010d", $low, $high;
This only works if you want to sort by start position and then by end position (or length).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Howto: Comparator for B-Tree in Kyoto Cabinet
by Kraeze (Initiate) on Jul 03, 2015 at 11:51 UTC |