-
Notifications
You must be signed in to change notification settings - Fork 147
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
Improve pow speed for expensive types by multiplying references not cloned values (reopen) #153
Conversation
Great. As noted in #152, we'll hold this until we're ready to make breaking changes. |
3924a8e
to
912191a
Compare
I think this could be even more efficient by using |
@vks i suspect you're right 👍 |
☔ The latest upstream changes (presumably #192) made this pull request unmergeable. Please resolve the merge conflicts. |
Do you want to move this PR to the |
That sounds the best place for it yes please |
Great, let's go! bors r+ |
153: Improve pow speed for expensive types by multiplying references not cloned values (reopen) r=cuviper a=dten Resubmission of #152 Couldn't reopen because I broke the branch Speed up on pow_bench ``` test pow_bench ... bench: 9,579,445 ns/iter (+/- 560,439) -> test pow_bench ... bench: 6,820,137 ns/iter (+/- 760,415) ```
Build failed |
Hmm, in |
Oh, but indirect trait requirements don't propagate well. (rust-lang/rust#20671) I guess we can just duplicate the |
Merged in #334, thanks! |
Resubmission of #152
Couldn't reopen because I broke the branch
Speed up on pow_bench