Skip to content

Conversation

@nnethercote
Copy link
Contributor

@nnethercote nnethercote commented Oct 26, 2025

Because #148054 was a slight perf regression.

The problem was seemingly because this iterator structure:

slice_iter.chain(Option_iter.chain(Option_iter))

changed to this:

slice_iter.chain(Option_iter).chain(Option_iter)

The commit also tweaks the slice_iter part, changing into_iter to iter and using [] instead of (&[]), for conciseness and consistency.

Because rust-lang#148054 was a slight perf regression.

The problem was seemingly because this iterator structure:
```
slice_iter.chain(Option_iter.chain(Option_iter))
```
changed to this:
```
slice_iter.chain(Option_iter).chain(Option_iter)
```
The commit also tweaks the `slice_iter` part, changing `into_iter` to
`iter` and using `[]` instead of `(&[])`, for conciseness and
consistency.
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 26, 2025
@nnethercote
Copy link
Contributor Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Oct 26, 2025
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Oct 26, 2025
@rust-bors
Copy link

rust-bors bot commented Oct 27, 2025

☀️ Try build successful (CI)
Build commit: 07d7953 (07d7953ec5ca596313c79b067e4a60e37ef77a99, parent: f977dfc388ea39c9886b7f8c49abce26e6918df6)

@rust-timer
Copy link
Collaborator

Queued 07d7953 with parent f977dfc, future comparison URL.
There are currently 2 preceding artifacts in the queue.
It will probably take at least ~3.0 hours until the benchmark run finishes.

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

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. 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.

3 participants