-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New lint [inefficient_pow
]
#11057
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
New lint [inefficient_pow
]
#11057
Conversation
r? @Alexendoo (rustbot has picked a reviewer for you, use r? to override) |
I'm not entirely sure how useful this lint is, considering the cost of using |
Huh, I've just looked at the assembly for Unfortunately |
☔ The latest upstream changes (presumably #11012) made this pull request unmergeable. Please resolve the merge conflicts. |
b27a105
to
be50786
Compare
be50786
to
a5bc149
Compare
☔ The latest upstream changes (presumably #11115) made this pull request unmergeable. Please resolve the merge conflicts. |
I don't particularly like the suggested code, and think this should be an optimization pass in rustc instead. I'll work on that instead |
changelog: New lint [
inefficient_pow
]