Constant ofilter::DEFAULT_BIT_LEN

source ·
pub const DEFAULT_BIT_LEN: usize = 18_983;
Expand description

Default size of the bit vector, in bits.

This value looks pretty random and corresponds to the required buffer len to power a 1000 items filter with 1% accuracy. Generally speaking, do not impose the buffer len, it is safe to derive it from other more functional aspects such as number of logical items or false positive rate.