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

Leverage math.bits.OneCount16, 32, etc. #2

Open
Deleplace opened this issue Jul 19, 2019 · 1 comment
Open

Leverage math.bits.OneCount16, 32, etc. #2

Deleplace opened this issue Jul 19, 2019 · 1 comment

Comments

@Deleplace
Copy link

This may be a good fit for Count.
Less code, benefits from present and future optimization from the stdlib.

I have not benchmarked.

@Deleplace
Copy link
Author

This requires go >= 1.9, which should be fine for most.

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

1 participant