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

len(bf) not reset after clear_all() #27

Closed
mizvyt opened this issue Jan 13, 2020 · 0 comments
Closed

len(bf) not reset after clear_all() #27

mizvyt opened this issue Jan 13, 2020 · 0 comments

Comments

@mizvyt
Copy link
Contributor

mizvyt commented Jan 13, 2020

Issue in detail here:
axiak/pybloomfiltermmap#77

Confirmed in pybloomfiltermmap3 as well.
Has to do with calling mbarray_ClearAll(bf->array) only instead of wrapping this method and doing something along the lines of bf->elem_count = 0.

@mizvyt mizvyt closed this as completed in 4154d74 Jan 31, 2020
mizvyt added a commit that referenced this issue Jan 31, 2020
Reset Bloom filter length after clear_all (fixes #27)
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