Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bloom): use BitArray instead of BTreeSet for block intersections #2460

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sistemd
Copy link
Contributor

@sistemd sistemd commented Dec 25, 2024

Closes #2433.

The performance in the case where a small number of ANDs happen is virtually the same, whereas in the case where a lot of ANDs happen I've seen a performance increase of about 20%, so I think the optimization is worth it.

@sistemd sistemd requested a review from a team as a code owner December 25, 2024 11:51
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.

Optimize BTreeSet intersections
1 participant