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

Faster way to determine power of two #184

Closed
wants to merge 1 commit into from

Conversation

Explorer09
Copy link
Contributor

Replace the naive "for" loop in determining power of two with a clever
bitwise solution. This code is around the Internet already and is in
Public Domain.

Replace the naive "for" loop in determining power of two with a clever
bitwise solution. This code is around the Internet already and is in
Public Domain.
@westes westes added this to the 2.6.5 milestone Feb 12, 2017
@westes
Copy link
Owner

westes commented Feb 16, 2017

Thanks. This is on master and will be included in the next release of flex.

@westes westes closed this Feb 16, 2017
@Explorer09 Explorer09 deleted the power-of-two branch February 17, 2017 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants