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

HashFunction.hash() creates non-distinct hashes #1

Open
janrieke opened this issue Sep 23, 2015 · 0 comments
Open

HashFunction.hash() creates non-distinct hashes #1

janrieke opened this issue Sep 23, 2015 · 0 comments

Comments

@janrieke
Copy link
Contributor

As stated in this paper (p. 4), one should generade "k distinct random indices into B". However, HashFunction.hash() will generate the same hash for each k if h2 (the Murmur hash) is a multiple of m. This causes the filter to become undecodeable very quickly (after m elements on average).

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