pub fn get_index(hash: u64, disps: &[(u32, u32)], len: usize) -> u32
Expand description
Return an index into phf_generator::HashState::map
.
hash
is fromhash()
in this crate.disps
is fromphf_generator::HashState::disps
.len
is the length ofphf_generator::HashState::map
.