Skip to content

Use a closure instead of three chained iterators#140464

Merged
bors merged 2 commits intorust-lang:masterfrom
oli-obk:successors-mut-perf
May 3, 2025
Merged

Use a closure instead of three chained iterators#140464
bors merged 2 commits intorust-lang:masterfrom
oli-obk:successors-mut-perf

Conversation

@oli-obk
Copy link
Copy Markdown
Contributor

@oli-obk oli-obk commented Apr 29, 2025

Fixes the perf regression from #123948

That PR had chained a third option to the iterator which apparently didn't optimize well

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants