FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-141510: Optimize frozendict(frozendict) by vstinner · Pull Request #145592 · python/cpython · GitHub

/ cpython Public

gh-141510: Optimize frozendict(frozendict) - #145592

Merged
vstinner merged 5 commits into
python:mainfrom
vstinner:frozendict_new_same
Mar 9, 2026
Merged

gh-141510: Optimize frozendict(frozendict)#145592
vstinner merged 5 commits into
python:mainfrom
vstinner:frozendict_new_same

Conversation

vstinner commented Mar 6, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Return the same object unmodified if it's exactly the frozendict type.

Return the same object unmodified if it's exactly the frozendict
type.

vstinner commented Mar 6, 2026

Copy link
Copy Markdown
Member Author

cc @encukou

Comment thread Objects/dictobject.c
vstinner requested a review from ZeroIntensity as a code owner March 6, 2026 16:34
vstinner merged commit 0dfe649 into python:main Mar 9, 2026
52 checks passed
vstinner deleted the frozendict_new_same branch March 9, 2026 14:47

vstinner commented Mar 9, 2026

Copy link
Copy Markdown
Member Author

Merged. Thanks for reviews.

ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
Return the same object unmodified if it's exactly the frozendict
type.

Optimize also PyFrozenDict_New(frozendict).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL