{{ message }}
feat: add RoaringBitmap32, RoaringBitmap64, and BitSet utilities - #35
Merged
Conversation
Member
Author
leaves12138
approved these changes
Jun 1, 2026
leaves12138
left a comment
Contributor
There was a problem hiding this comment.
Reviewed the latest head. I did not find blockers in this pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Purpose
No Linked issue.
Introduce bitmap and bitset utility classes:
RoaringBitmap32— 32-bit roaring bitmap wrapper with serialization, set operations (and/or/xor/andnot), and iterator support (roaring_bitmap32.h/cpp)RoaringBitmap64— 64-bit roaring bitmap wrapper with the same capabilities extended for 64-bit keys (roaring_bitmap64.h/cpp)BitSet— compact bit vector with get/set/clear operations backed by a byte array (bit_set.h/cpp)Tests
roaring_bitmap32_test.cpp— construction, add/remove, contains, serialization/deserialization, set operationsroaring_bitmap64_test.cpp— same coverage for 64-bit variant plus large-key scenariosbit_set_test.cpp— bit manipulation, boundary conditionsAPI and Format
New public headers under
include/paimon/utils/.Documentation
Generative AI tooling
Migrate-by: Aone Copilot (Claude)