Crate jumpconsistenthash[−][src]
Expand description
implements Google’s Jump Consistent Hash From the paper “A Fast, Minimal Memory, Consistent Hash Algorithm” by John Lamping, Eric Veach (2014). Paper
Functions
hashes an &str
to a u32
which is in the range of 0..buckets
hashes a u64
to a u32
which is in the range of 0..buckets