jaybaird / python-bloomfilter

Scalable Bloom Filter implemented in Python
MIT License
1.62k stars 330 forks source link

return bit indices set during an add #17

Open simon-weber opened 10 years ago

simon-weber commented 10 years ago

My project involves multiple nodes maintaining and syncing up bloom filters. To do this efficiently, I need to know which indices get set during an add operation. This PR adds a method to do that.

This isn't quite ready to be merged. Here are some questions for you:

simon-weber commented 10 years ago

Hm, actually, maybe this function should be a generator of bit indices instead. That would let the caller opt-in to the list allocation overhead if they need it.

jaybaird commented 10 years ago

Hey, let me take a look at this weekend and I’ll get back to you. Thanks!

On Nov 1, 2014, at 9:05 AM, Simon Weber notifications@github.com wrote:

Hm, actually, maybe this function should be a generator of bit indices instead. That would let the caller opt-in to the list allocation overhead if they need it.

— Reply to this email directly or view it on GitHub.