axiak / pybloomfiltermmap

Fast Python Bloom Filter using Mmap
http://axiak.github.com/pybloomfiltermmap/
MIT License
739 stars 137 forks source link

Misc bugfixes and increased test coverage. #45

Closed dbishop closed 10 years ago

dbishop commented 10 years ago

Some usages which would segfault now just raise NotImplementedError. Fixes #44

Fixed bug in the BloomFilter.copy method. Fixes #43

Fixed initialization of in-memory bit-vector when not using a file/mmap. Fixes #46

The constant, ReadFile is now available in Python as pybloomfilter.BloomFilter.ReadFile

bf_from_base64 and bf_from_file were replaced with BloomFilter class methods, from_base64 and open, respectively.