prashnts / pybloomfiltermmap3

Fast Python Bloom Filter using Mmap
https://github.com/prashnts/pybloomfiltermmap3
MIT License
130 stars 24 forks source link

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

Closed mizvyt closed 4 years ago

mizvyt commented 4 years ago

Issue in detail here: https://github.com/axiak/pybloomfiltermmap/issues/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.