Skip to content

gh-131798: Optimize _ITER_CHECK_RANGE and _ITER_CHECK_LIST#144583

Open
Sacul0457 wants to merge 2 commits intopython:mainfrom
Sacul0457:Optimize_ITER_CHECKs
Open

gh-131798: Optimize _ITER_CHECK_RANGE and _ITER_CHECK_LIST#144583
Sacul0457 wants to merge 2 commits intopython:mainfrom
Sacul0457:Optimize_ITER_CHECKs

Conversation

@Sacul0457
Copy link

@Sacul0457 Sacul0457 commented Feb 8, 2026

Adds _ITER_CHECK_RANGE and _ITER_CHECK_LIST to the optimizer.

Regarding testing, as far as I know, we can't accurately test for this optimization, similar to #134803.
But if I am mistaken, please let me know :)

@bedevere-app
Copy link

bedevere-app bot commented Feb 8, 2026

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant