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

Various improvements #17

Merged
merged 6 commits into from
Feb 14, 2014
Merged

Various improvements #17

merged 6 commits into from
Feb 14, 2014

Conversation

lemire
Copy link
Member

@lemire lemire commented Feb 14, 2014

  1. By writing the Count() function in C, we speed things up by about 50%. It should actually be a lot more than 50%, but I can't convince cgo to use SSE2 at the moment. In any case, 50% is significant enough.

  2. I fixed a bug in NextSet.

  3. I have added cardinality functions. Given two bitset, you can now compute the cardinality (Count) of their intersections without having to materialize the answer. (Great potential speed boost.)

willf added a commit that referenced this pull request Feb 14, 2014
@willf willf merged commit c3eddec into bits-and-blooms:master Feb 14, 2014
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