Skip to content

gh-124697: avoid unnecessary deduplication in frameobject API functions - #160256

Open
iritkatriel wants to merge 2 commits into
python:mainfrom
iritkatriel:cache_dedup
Open

iritkatriel wants to merge 2 commits into
python:mainfrom
iritkatriel:cache_dedup

Conversation

@iritkatriel

@iritkatriel iritkatriel commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Cache on the code object whether deduplication is needed. Skip it if not.

This should resolve a perf regression introduced in #156819

Comment thread Objects/frameobject.c Outdated
Comment thread Lib/test/test_listcomps.py Outdated
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.

2 participants