-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Make Fingerprint::combine_commutative
associative
#92528
Conversation
This comment has been minimized.
This comment has been minimized.
The previous implementation swapped lower and upper 64-bits of a result of modular addition, so the function was non-associative.
f44bdfa
to
1d64b59
Compare
r=me unless @michaelwoerister wants anything changed |
@bors try @rust-timer queue Just to make sure there isn't any subtle perf effect here. |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 1d64b59 with merge 8f0ee5d41d8626fffe038c1d011db701b44888a0... |
☀️ Try build successful - checks-actions |
Queued 8f0ee5d41d8626fffe038c1d011db701b44888a0 with parent f1ce0e6, future comparison URL. |
Finished benchmarking commit (8f0ee5d41d8626fffe038c1d011db701b44888a0): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR led to changes in compiler perf. @bors rollup=never |
I'll take a look shortly. |
📌 Commit 1d64b59 has been approved by |
…askrgr Rollup of 8 pull requests Successful merges: - rust-lang#92528 (Make `Fingerprint::combine_commutative` associative) - rust-lang#93221 ([borrowck] Fix help on mutating &self in async fns) - rust-lang#93542 (Prevent lifetime elision in type alias) - rust-lang#93546 (Validate that values in switch int terminator are unique) - rust-lang#93571 (better suggestion for duplicated `where` clause) - rust-lang#93574 (don't suggest adding `let` due to bad assignment expressions inside of `while` loop) - rust-lang#93590 (More let_else adoptions) - rust-lang#93592 (Remove unused dep from rustc_arena) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
The previous implementation swapped lower and upper 64-bits of a result
of modular addition, so the function was non-associative.
r? @Aaron1011