Function bloom::bloom::needed_bits [] [src]

pub fn needed_bits(false_pos_rate: f32, num_items: u32) -> usize

Return the number of bits needed to satisfy the specified false positive rate, if the filter will hold num_items items.