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

gh-109653: Avoid a top-level import of `types` in `functools` by AlexWaygood · Pull Request #109804 · python/cpython · GitHub

/ cpython Public

gh-109653: Avoid a top-level import of types in functools - #109804

Merged
AlexWaygood merged 1 commit into
python:mainfrom
AlexWaygood:functools-import-time
Sep 24, 2023
Merged

gh-109653: Avoid a top-level import of types in functools#109804
AlexWaygood merged 1 commit into
python:mainfrom
AlexWaygood:functools-import-time

Conversation

AlexWaygood commented Sep 24, 2023
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

This reduces the import time of functools by around 13%, according to my measurements (using a PGO-optimised non-debug build, on Windows)

AlexWaygood merged commit 40d1de7 into python:main Sep 24, 2023
AlexWaygood deleted the functools-import-time branch September 24, 2023 16:18
csm10495 pushed a commit to csm10495/cpython that referenced this pull request Sep 28, 2023
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL