Constant ofilter::DEFAULT_NB_HASH

source ·
pub const DEFAULT_NB_HASH: usize = 2;
Expand description

Default number of hash functions.

We use 2 because most of the time, the game changer is CPU time, and limiting the number of hashes makes things quite optimal from that point of view. It is only a default, feel free to increase when relevant, but this proved a quite sensible setting.