Skip to content

Faster way to determine power of two#184

Closed
Explorer09 wants to merge 1 commit intowestes:masterfrom
Explorer09:power-of-two
Closed

Faster way to determine power of two#184
Explorer09 wants to merge 1 commit intowestes:masterfrom
Explorer09:power-of-two

Conversation

@Explorer09
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants