-
Notifications
You must be signed in to change notification settings - Fork 13.3k
stupid fix for coercion hack perf regression #139171
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
base: master
Are you sure you want to change the base?
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 |
cc #136127 #138542
r? @ghost