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§
- jump_
hash_ from_ str - hashes an
&str
to au32
which is in the range of 0..buckets - jump_
hash_ from_ u64 - hashes a
u64
to au32
which is in the range of 0..buckets