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§
- Custom
Jump Hasher - A jump hash instance with a custom hash function.
- Jump
Hasher - A default jump hash instance with the default, recommended hash function.