prashnts / pybloomfiltermmap3

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

Streamline "r", "rw" and "rw+" (create) operations #23

Closed mizvyt closed 4 years ago

mizvyt commented 4 years ago

Regression: removed "mode" parameter from BloomFilter.from_base64() introduced in 0.5.0 (https://github.com/prashnts/pybloomfiltermmap3/pull/13)

I had doubts about the existing flow in pybloomfilter.pyx, so hopefully these changes will clear things up a little:

mizvyt commented 4 years ago

With 9a360ce I've changed references to the old bf.name.decode() to bf.filename as of #25. Rest of the commits were a result of a rebase. Merging this for 0.5.1.