
const JUMP: u64 = 1 << 31;

use std::hash;

/// Takes a 64 bit key and the number of buckets, outputs a bucket number `0..buckets`.
///
/// # Examples
///
/// ```
/// extern crate jump_consistent_hash as jump;
/// assert_eq!(jump::slot(0, 60), 0);
/// assert_eq!(jump::slot(1, 60), 55);