Crate jumphash[−][src]
Expand description
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
A jump hash instance with a custom hash function.
A default jump hash instance with the default, recommended hash function.