Skip to content

Range step by optimization problem solving#157770

Open
lms0806 wants to merge 1 commit into
rust-lang:mainfrom
lms0806:issue_157754
Open

Range step by optimization problem solving#157770
lms0806 wants to merge 1 commit into
rust-lang:mainfrom
lms0806:issue_157754

Conversation

@lms0806

@lms0806 lms0806 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

We have resolved the issue where Range 0..n step by was less optimized than the existing 0..n step by.

We have added the previously implemented parts to the parts of Range's step_by that were not previously implemented.

Please let me know if there are any shortcomings, and I will make corrections.

Close #157754

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jun 11, 2026
@rustbot

rustbot commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

r? @jhpratt

rustbot has assigned @jhpratt.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: libs
  • libs expanded to 10 candidates
  • Random selection from Mark-Simulacrum, clarfonthey, jhpratt

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

step_by() on new ranges is less optimized than the old ranges.

3 participants