Fix non-deterministic encoding of syntax contexts - #161450
Conversation
This comment has been minimized.
This comment has been minimized.
b07d315 to
3f750ec
Compare
This comment has been minimized.
This comment has been minimized.
494d4da to
5fa08c7
Compare
This comment has been minimized.
This comment has been minimized.
a34d24f to
3868148
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
| .collect() | ||
| }); | ||
|
|
||
| all_ctxt_data.sort_by_key(|&(ctxt, _)| self.get_encoding_index(ctxt)); |
There was a problem hiding this comment.
Note: here and below get_encoding_index takes the encoding_indices in every iteration of the loop, it could be more efficient to take the lock once.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…ing, r=<try> Fix non-deterministic encoding of syntax contexts
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (7e01adf): comparison URL. Overall result: ❌ regressions - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.0%, secondary -1.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -0.2%, secondary 4.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 476.065s -> 474.462s (-0.34%) |
Reiteration of #157409. Explanation can be found in comment for
encoding_indicesand in the issue.Fixes #129094. Blocked by #161353.
r? @petrochenkov
No llms used.