Simplified bloom filter hash functions.
Instead of computing (hash >> shift) % 64, we now take (hash >> shift) & 63. Since 64 is a power of 2, this gives us a hash value in the range [0...63].
Loading
Please register or sign in to comment
Instead of computing (hash >> shift) % 64, we now take (hash >> shift) & 63. Since 64 is a power of 2, this gives us a hash value in the range [0...63].