Request to review PR: Support for Bitset
Author: pluuto19Created May 14, 2026Updated May 14, 2026
Hi @emirpasic and maintainers,
This PR introduces a full BitSet implementation under sets/bitset/ with support for the sets.Set[int] interface, serialization, set algebra operations, unit tests, benchmarks, and README updates.
The implementation appears complete and has:
- O(1) add/remove/contains via bit operations
- Efficient memory usage for dense integer domains
- Word-level intersection/union/difference operations
- Auto-growing storage
- Full test coverage for core behavior and edge cases
- Benchmarks across multiple dataset sizes
Would appreciate a review from the maintainers when possible, particularly around:
Thanks.
Source: emirpasic/gods