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

simplify and harmonize NextSet and NextSetMany #191

Merged
merged 4 commits into from
Dec 14, 2024

Conversation

gaissmai
Copy link
Contributor

@gaissmai gaissmai commented Dec 13, 2024

Hi, please see the following patchset, it is better readable code for NextSet and NextSetMany. They are two very similar functions, but the code was very different in the naming of the variables and lacked any comment. Before refactoring, I wrote a test for NextSetMany, which was still missing in the tests. Take a look at it, if you like it then merge it, if you want me to improve it somehow then write it and if you discard the PR completely that is your decision alone.

Thanks for bitset!

(edited) ah sorry, my gopls gofumpt'd the test and benchmark different than the original (old?) formatting. Shall I reformat to the old style?

@lemire
Copy link
Member

lemire commented Dec 14, 2024

Merging. This will be part of the next release.

@lemire lemire merged commit 430f974 into bits-and-blooms:master Dec 14, 2024
15 checks passed
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