Skip to main content

bloom_bitset/
lib.rs

1//! bloom-bitset
2//!
3//! Zero-dependency probabilistic data structures: 512-bit cache-line-blocked
4//! Bloom filter, 4-bit saturating Counting Bloom filter, and HyperLogLog.
5
6mod blocked;
7mod counting;
8mod hash;
9mod hll;
10
11pub use {blocked::*, counting::*, hash::*, hll::*};
12
13pub(crate) use hash::hash_pair;
14
15use std::{
16    collections::hash_map::DefaultHasher,
17    f64::consts::LN_2,
18    hash::{Hash, Hasher},
19};