Crates.io | bloomcalc |
lib.rs | bloomcalc |
version | 0.6.0 |
source | src |
created_at | 2023-06-25 05:05:17.214052 |
updated_at | 2024-12-04 14:11:12.415548 |
description | bloomcalc provides a calculator for bloom filters. |
homepage | |
repository | https://github.com/rescrv/blue |
max_upload_size | |
id | 899308 |
size | 10,832 |
bloomcalc provides a calculator for bloom filters.
Maintenance track. The library is considered stable and will be put into maintenance mode if unchanged for one year.
This library provides the basics of a bloom filter with the bloomcalc command.
% target/debug/bloomcalc --prob 0.01
a bloom filter with false positive rate of 0.01 will work best with 6.643856189774724 keys
% target/debug/bloomcalc --card 1000 --prob 0.01
a bloom filter for 1000 items with false positive rate 0.01 will need 9585.058377367439 bits
% target/debug/bloomcalc --card 1000 --bits 10000
a bloom filter for 1000 items with 10000 bits will have a 0.008192549468178963 false positive rate
None.
The latest documentation is always available at docs.rs.