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

More memory efficient bitset using int8 instead of bool type. Solving issue #21 . Thank you @delaneyj #22

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

guycipher
Copy link
Member

More memory efficient bitset using int8 instead of bool type. Solving issue #21 . Thank you @delaneyj

@guycipher guycipher self-assigned this Jan 21, 2025
@guycipher guycipher merged commit c0d8ff7 into master Jan 21, 2025
1 check passed
@delaneyj
Copy link
Contributor

Np, though a roaring bitmap will be even more efficient for sparse bitmaps and has simd built in

@guycipher
Copy link
Member Author

guycipher commented Jan 21, 2025

@delaneyj I don't doubt it. We can work on a PR with a roaring bitmap swap out and compare the performance. Surely it could be greater.

@guycipher
Copy link
Member Author

There will surely be positives and negatives to both. We can even add another option so if you don't want bloom you can set bitmap; But can't have both kinda thing. That would be very cool.

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.

2 participants