Find the right lower bound region in the scenario of partial order relations by...
source link: https://github.com/rust-lang/rust/pull/104765
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.
Conversation
Fixes #104639
Collaborator
rustbot commented Nov 23, 2022
Failed to set assignee to
|
added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Contributor
Author
chenyukang commented Nov 23, 2022
Contributor
aliemjay commented Nov 23, 2022
Contributor
aliemjay left a comment
Oops, I missed that.
} |
||
let Some((_, &min_choice)) = choice_regions.iter().enumerate().find(|(i, &r1)| { |
||
choice_regions.iter().enumerate().all(|(j, &r2)| { |
||
*i == j || self.universal_region_relations.outlives(r1, r2) |
Contributor
aliemjay Nov 23, 2022
*i == j || self.universal_region_relations.outlives(r1, r2) | |
self.universal_region_relations.outlives(r2, r1) |
The min_choice
should be outlived by all others, not outlives all others. I'll be worried if we don't have tests that tripped for this.
There's also no need to check i == j
because universal_region_relations is reflexive, so outlives(r1, r1) == true
.
Contributor
Author
chenyukang Nov 23, 2022
I just found a local test failed for my change:
async fn async_ret_impl_trait2<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a>
where
'b: 'a,
{
(a, b)
}
Will fix it.
This comment has been minimized.
Contributor
oli-obk commented Nov 23, 2022
This comment has been minimized.
added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label
Contributor
bors commented Nov 23, 2022
Contributor
oli-obk commented Nov 29, 2022
This comment has been minimized.
Contributor
bors commented Nov 29, 2022
Contributor
bors commented Nov 29, 2022
Try build successful - checks-actions |
This comment has been minimized.
Collaborator
rust-timer commented Nov 29, 2022
Finished benchmarking commit (f9109e9): comparison URL. Overall result: regressions and improvements - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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)Results CyclesResults |
added perf-regression Performance regressions
and removed S-waiting-on-perf Status: Waiting on a perf run to be completed.
labels
Member
lqd commented Nov 30, 2022
The regressions above are likely current noise on these benchmarks -- and the O(N²) change here is probably fine at the low Ns we're expecting to see here ? |
added T-types Relevant to the types team, which will review and decide on the PR/issue.
and removed T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
labels
added final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised.
and removed proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
labels
rfcbot commented Nov 30, 2022
This is now entering its final comment period, as per the review above. |
This comment has been minimized.
added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label
Contributor
bors commented Nov 30, 2022
Wait I didn't notice there was a perf run already oops |
Contributor
bors commented Dec 1, 2022
Try build successful - checks-actions |
This comment has been minimized.
Collaborator
rust-timer commented Dec 1, 2022
Finished benchmarking commit (97288fb): comparison URL. Overall result: no relevant changes - 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 benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results CyclesThis benchmark run did not return any relevant results for this metric. |
removed S-waiting-on-perf Status: Waiting on a perf run to be completed. perf-regression Performance regressions
labels
added finished-final-comment-period The final comment period is finished for this PR / Issue. to-announce Announce this issue on triage meeting
and removed final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised.
labels
rfcbot commented Dec 10, 2022
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
Contributor
oli-obk commented Dec 12, 2022
@bors r+ rollup=never (for bisectability) |
bors never seemed to register this @bors r=oli-obk rollup=never |
Contributor
bors commented Dec 14, 2022
added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
labels
Contributor
bors commented Dec 15, 2022
Contributor
bors commented Dec 15, 2022
Test successful - checks-actions |
Collaborator
rust-timer commented Dec 15, 2022
Finished benchmarking commit (939a3dd): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results CyclesThis benchmark run did not return any relevant results for this metric. |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Successfully merging this pull request may close these issues.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK