Build a new `BloomFilter` with the default parameters (`k=3`, `m=2048`) and insert all provided string values. Skips empty strings and nulls (caller passes only valid, non-null values).
(values: &[&str])
| 433 | /// |
| 434 | /// Skips empty strings and nulls (caller passes only valid, non-null values). |
| 435 | pub fn build_bloom(values: &[&str]) -> BloomFilter { |
| 436 | build_bloom_with_params(values, BLOOM_K_DEFAULT, BLOOM_BITS_DEFAULT) |
| 437 | } |
| 438 | |
| 439 | /// Build a `BloomFilter` with explicit `k` (hash function count) and `m` |
| 440 | /// (bit-array size). `m` must be a power of two and at least 8. |