Uh oh!
There was an error while loading. Please reload this page.
Don't call temporary_scope twice. - #108692
Conversation
`mirror_expr_inner` calls `temporary_scope`. It then calls `make_mirror_unadjusted` which makes an identical call to `temporary_scope`. This commit changes the `mirror_expr_inner` to get the `temp_lifetime` out of the expression produced by `make_mirror_unadjusted`, similar to how it currently gets the type.
nnethercote
commented
Mar 3, 2023
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
bors
commented
Mar 3, 2023
⌛ Trying commit 6b9c412 with merge 77fbe01754d928b0abe469e83464bf87d78ab9d1... |
bors
commented
Mar 3, 2023
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Mar 3, 2023
Finished benchmarking commit (77fbe01754d928b0abe469e83464bf87d78ab9d1): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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 may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
cjgillot
commented
Mar 3, 2023
That's unexpected for a 2 line change. |
bors
commented
Mar 3, 2023
bors
commented
Mar 3, 2023
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
nnethercote
commented
Mar 3, 2023
I go where the profilers take me :) |
bors
commented
Mar 4, 2023
bors
commented
Mar 4, 2023
☀️ Test successful - checks-actions |
rust-timer
commented
Mar 4, 2023
Finished benchmarking commit (b171953): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
mirror_expr_innercallstemporary_scope. It then callsmake_mirror_unadjustedwhich makes an identical call totemporary_scope.This commit changes the
mirror_expr_innerto get thetemp_lifetimeout of the expression produced bymake_mirror_unadjusted, similar to how it currently gets the type.r? @cjgillot