Skip to content

constify is_power_of_two - #65628

Closed
tesuji wants to merge 1 commit into
rust-lang:masterfrom
tesuji:const-is_power_of_two
Closed

constify is_power_of_two#65628
tesuji wants to merge 1 commit into
rust-lang:masterfrom
tesuji:const-is_power_of_two

Conversation

@tesuji

@tesujitesuji commented Oct 20, 2019

Copy link
Copy Markdown
Contributor

See this godbolt link for the difference in debug and optimized build of old and new code.

@tesuji

This comment has been minimized.

@tesuji

Copy link
Copy Markdown
ContributorAuthor

Looks like scott is busy. r? @sfackler

@nikic

Copy link
Copy Markdown
Contributor

Duplicate of #65092?

@tesuji

Copy link
Copy Markdown
ContributorAuthor

Oh. It is. Closing then!

@tesujitesuji closed this Oct 20, 2019
@tesuji
tesuji deleted the const-is_power_of_two branch October 20, 2019 16:37
Sign up for freeto 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.

4 participants

@tesuji@nikic@sfackler@scottmcm