Skip to content

Consider making use of efficient implementations of popcount, ctz and clz if they become available. #17

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

Open
modulovalue opened this issue Jun 11, 2023 · 2 comments

Comments

@modulovalue
Copy link

For reference: dart-lang/sdk#52673

@modulovalue
Copy link
Author

Here's a blogpost that discusses how to use ctz to implement efficient iteration: https://lemire.me/blog/2018/03/08/iterating-over-set-bits-quickly-simd-edition/

@isoos
Copy link
Owner

isoos commented Dec 21, 2023

Feel free to open a PR once it is available, I'm happy to take such changes.

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

No branches or pull requests

2 participants