jch-rs - Jump Consistent Hash for Rust
Jump Consistent Hash is a linear complexity consistent hash algorithm described in John Lamping and Eric Veach's paper on the topic
Example
use jch;
let key = 5u64;
let num_buckets = 1024i32;
println!;
Jump Consistent Hash is a linear complexity consistent hash algorithm described in John Lamping and Eric Veach's paper on the topic
use jch;
let key = 5u64;
let num_buckets = 1024i32;
println!;