Hacker News new | ask | show | jobs
by FreakLegion 43 days ago
I'm describing the data structure from the article, which is partitioned twice: first into 64-byte, then into pairwise coprime-sized chunks. The 64-byte chunks are what you're quoting as "blocked", the pairwise coprime-sized chunks as "partitioned". The space inefficiency I mentioned applies to the 64-byte chunks.
1 comments

You can mitigate this imbalance (at the expense of more cache misses) in the usual way by applying the power of 2 choices:

https://lph.ece.utexas.edu/users/krimer/pub/im11_bf.pdf

More cache misses, and also an increased false positive rate from doing multiple lookups. A similarly optimized cuckoo filter (cache line-sized buckets/windows and SIMD queries) is both smaller and faster.