4 ms·
This looks fantastic! I also implemented one from scratch[0], and I was doing something very similar at first. Then I found the Python hash() function returns d
by polyrand 6y ago
This looks fantastic! I also implemented one from scratch[0], and I was doing something very similar at first. Then I found the Python hash() function returns different outputs for the same input when you restart the interpreter. I really like your implementation, it's functional and easy to understand!
[0] https://ricardoanderegg.com/posts/understanding-bloom-filters/ https://ricardoanderegg.com/posts/understanding-bloom-filter...
- reivalc 6y agoNice! > found the Python hash() function returns different outputs for the same input when you restart the interpreter I wasn't aware of this >>