Skip to content

Conversation

@jmalkin
Copy link
Contributor

@jmalkin jmalkin commented May 31, 2024

Refactored BloomFilter's BitArray class to make it common across filters. That involved making it public, so all the methods in the abstract base class now have a javadoc.

BitArray now has getBits(index, numBits) and setBits(index, numBits, value) (where the max size is 64 bits) as well as assignBit(index, value). The QuotientFilter has been updated to use this class, and the old Bitmap wrapping some legacy CERN code has been removed.

Opening this against the reviewed branch, but we probably then want to merge back into quotient-filter after that?

leerho and others added 11 commits May 10, 2024 10:36
to compute absolute maximum number of storage bytes required for a
CompactSketch given the configured number of nominal entries (power of
2).
removed intermediate hash map
Improvements to getCompactSketchMaxBytes(...)

Renaming of two special functions one in HeapQuickSelectSketch and the
other in DirectQuickSelectSketchR.
Also changed their access privilege.
And DirectQuickSelectSketchR::getOffHeapHashTableThreshold(..)
to eliminate the unnecessary Math.floor(..) function.
@jmalkin jmalkin merged commit 9b74797 into quotient-filter-reviewed May 31, 2024
@jmalkin jmalkin deleted the common_bitarray branch May 31, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants