Use <[T; N]>::map in Sharded instead of SmallVec and unsafe code by bjorn3...
source link: https://github.com/rust-lang/rust/pull/89069
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Finished benchmarking commit (d7e5e4a): comparison url.
Summary: This change led to moderate relevant mixed results in compiler performance.
- Moderate improvement in instruction counts (up to -1.4% on
incr-unchanged
builds ofctfe-stress-4
) - Moderate regression in instruction counts (up to 0.7% on
incr-patched: println
builds ofcoercions
)
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.
Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged
along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.
@bors rollup=never
@rustbot label: +S-waiting-on-review -S-waiting-on-perf +perf-regression
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK