| Crates.io | bloomcalc |
| lib.rs | bloomcalc |
| version | 0.8.0 |
| created_at | 2023-06-25 05:05:17.214052+00 |
| updated_at | 2025-08-08 06:07:05.980969+00 |
| description | bloomcalc provides a calculator for bloom filters. |
| homepage | |
| repository | https://github.com/rescrv/blue |
| max_upload_size | |
| id | 899308 |
| size | 10,847 |
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.