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

Specify custom hash_seeds, bump python to >=3.5, <=3.8 #14

Merged
merged 4 commits into from
Nov 23, 2019

Conversation

mizvyt
Copy link
Contributor

@mizvyt mizvyt commented Nov 21, 2019

Added the possibility to specify custom hash_seeds for hashing.

This is required to be able to recreate a bloomfilter with the same data, and compare it with the original one to make sure it is identical, for verification purposes.

@prashnts

Copy link
Owner

@prashnts prashnts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few suggestions

tests/simpletest.py Show resolved Hide resolved
src/pybloomfilter.pyx Outdated Show resolved Hide resolved
src/pybloomfilter.pyx Outdated Show resolved Hide resolved
@mizvyt
Copy link
Contributor Author

mizvyt commented Nov 22, 2019

Combined if statements and added hash_seed value checking, as it's important only positive integers up to 32-bits are allowed.

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

Successfully merging this pull request may close these issues.

2 participants