Skip to main content

DEFAULT_HASH_COUNT

Constant DEFAULT_HASH_COUNT 

Source
pub const DEFAULT_HASH_COUNT: u8 = 5;
Expand description

Default number of hash functions.

k=5 is optimal at ~1,200 entries and a good compromise for 800-1,600. At 400 entries: FPR ~0.05%. At 800 entries: FPR ~0.9%.