As a way to dive deeper into Mojo, I implemented two variants of Bloom filters:
-
Standard Bloom Filter (with enhanced double hashing)
-
Split Block Bloom Filter (SIMD/cache-optimized)
Both share a clean API for create/add/contains/merge/serialize/etc. and come with tests + benchmarks.
Repo here: https://github.com/axiomhq/mojo-bloomfilter
I’d love feedback from the community - especially around performance, API design, and Mojo best practices. Anything I could do more idiomatically, or optimizations I should try next?