Function bloom::bloom::optimal_num_hashes [] [src]

pub fn optimal_num_hashes(num_bits: usize, num_items: u32) -> u32

Return the optimal number of hashes to use for the given number of bits and items in a filter