Open 235 opened 11 years ago
It's a minor issue, alas, it requires changes to the file format which might be a hassle.
>> fruit = pybloomfilter.BloomFilter(100000, 0.1, '/tmp/words.bloom') >> fruit.update(('apple', 'pear', 'orange', 'apple')) >> len(fruit) 3 >> fruit.sync() >> basket = pybloomfilter.BloomFilter.open('/tmp/words.bloom') >> 'orange' in basket True >> len(basket) 0 -- However, this should be 3.
I meet the same problem...
It's a minor issue, alas, it requires changes to the file format which might be a hassle.