Crate jumphash [−] [src]
An implementation of the Jump Consistent Hash Algorithm.
Example
extern crate jumphash; let jh = jumphash::JumpHasher::new(); let slot_count = 100; let slot_for_key = jh.slot("key", slot_count);
Structs
JumpHasher |
An implementation of the Jump Consistent Hash Algorithm.
extern crate jumphash; let jh = jumphash::JumpHasher::new(); let slot_count = 100; let slot_for_key = jh.slot("key", slot_count);
JumpHasher |