Crate jump_consistent_hash [] [src]

Implements 'Jump Consistent Hash' from the paper A Fast, Minimal Memory, Consistent Hash Algorithm by John Lamping, Eric Veach (2014).

Functions

hash

Takes a 64 bit key and the number of buckets, outputs a bucket number 0..buckets.