stupid fix for coercion hack perf regression#139171
stupid fix for coercion hack perf regression#139171lcnr wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
stupid fix for coercion hack perf regression cc rust-lang#136127 rust-lang#138542 r? `@ghost`
more interesting fix for coercion hack perf regression cc rust-lang#136127 rust-lang#138542 rust-lang#139171 r? `@ghost`
|
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
|
@rust-timer build b6303fd |
1 similar comment
|
@rust-timer build b6303fd |
|
Oh, this is the perf results: https://perf.rust-lang.org/compare.html?start=10a76d634781180b4f5402c519f0c237d3be6ee6&end=b6303fdafa669e76fca4cabfa942c07295d3f457 That's why rust-timer isn't requeueing the job, b/c it's already done |
|
it seems like the perf results are pretty much equivalent between this and #138542. Would prefer going ahead with this PR @compiler-errors it has a better vibe for me. I think the big part is avoiding to use
|
|
I'm still mostly in favor of the approach to relocate a (solely) cast-related hack to casting code, which is the primary motivation of #138542. I know that you seem to have a negative opinion of the added complexity of the casting code in that PR, but IMO that added complexity (which is now bubbled up into There's quite a few usages of coercion around HIR typeck, and none of them care about Making |
|
closing in favor of #138542 |
cc #136127 #138542
r? @ghost