Bisection Key
insert between two different keys infinitely.
Charset:
+-/0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
numeral repersentation: 0 ~ 64, middle size is 32, corresponding to T.
Usage
LexiconKey is in lexicographic order:
use
let k0 = default; // defaults to "T"
k0.bisect_beginning
k0.bisect_end
let k1 = new.unwrap;
b0.bisect
BalancedKey is a different attempt, like said, it's balanced around T like "balanced ternary" and has its own implementation of Ord trait:
use
let k0 = default; // defaults to "T"
k0.bisect_beginning
k0.bisect_end
let k1 = new.unwrap;
b0.bisect
License
MIT