Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stdlib] Use named output for _ListIter __next__() method #3941

Open
wants to merge 1 commit into
base: nightly
Choose a base branch
from

Conversation

bgreni
Copy link
Contributor

@bgreni bgreni commented Jan 12, 2025

  • Add a trivial optimization to use a named output for the __next__() method in _ListIter to save a subtraction operation on every iteration

@bgreni bgreni requested a review from a team as a code owner January 12, 2025 23:06
@bgreni bgreni force-pushed the named-out-list-iter branch 2 times, most recently from f633d35 to 0273855 Compare January 13, 2025 06:46
@bgreni bgreni force-pushed the named-out-list-iter branch from 0273855 to 29d992f Compare January 14, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant