jch 1.0.0

Jump Consistent Hash for Rust.
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 3.49 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • beefsack/jch-rs
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • beefsack

jch-rs - Jump Consistent Hash for Rust

Build Status

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!("{}", jch::hash(key, num_buckets));