Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate optimal number of hash functions #6

Open
blasrodri opened this issue Oct 21, 2020 · 0 comments
Open

Calculate optimal number of hash functions #6

blasrodri opened this issue Oct 21, 2020 · 0 comments

Comments

@blasrodri
Copy link
Owner

It's hardcoded. Should be calculated. For the bloom filter, the formula is here: https://en.wikipedia.org/wiki/Bloom_filter

https://github.com/blasrodri/matecito/blob/master/src/bloom_filter.rs#L31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant