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

gh-109653: Improve `enum` import time by avoiding import of `functools` by AlexWaygood · Pull Request #109789 · python/cpython · GitHub

/ cpython Public

gh-109653: Improve enum import time by avoiding import of functools - #109789

Merged
ethanfurman merged 1 commit into
python:mainfrom
AlexWaygood:enum-import-time
Sep 23, 2023
Merged

gh-109653: Improve enum import time by avoiding import of functools#109789
ethanfurman merged 1 commit into
python:mainfrom
AlexWaygood:enum-import-time

Conversation

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

Copy link
Copy Markdown
Member

This reduces the import time of enum by over 50% on my machine (PGO-optimised, non-debug build on Windows), from around 0.007s to around 0.003s

AlexWaygood added performance Performance or resource usage 3.13 bugs and security fixes type-feature A feature request or enhancement stdlib Standard Library Python modules in the Lib/ directory labels Sep 23, 2023
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

3.13 bugs and security fixes performance Performance or resource usage stdlib Standard Library Python modules in the Lib/ directory type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL