1 unstable release
Uses old Rust 2015
0.1.0 | Jun 10, 2017 |
---|
#22 in #jump
37 downloads per month
4KB
Jump Consistent Hash
extern crate jump_consistent_hash as jch;
let bucket_nr = 30;
let bucket_id = jch::hash(10863919174838991, bucket_nr);
lib.rs
:
Implements 'Jump Consistent Hash' from the paper A Fast, Minimal Memory, Consistent Hash Algorithm by John Lamping, Eric Veach (2014).