gh-109653: Improve `enum` import time by avoiding import of `functools` by AlexWaygood · Pull Request #109789 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Merged
Conversation
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
requested a review
from ethanfurman
as a code owner
bedevere-app
Bot
added
the
awaiting review
label
bedevere-app
Bot
mentioned this pull request
JelleZijlstra
approved these changes
bedevere-app
Bot
added
awaiting core review
and removed
awaiting review
labels
AlexWaygood
added
performance
labels
ethanfurman
approved these changes
ethanfurman
merged commit
51863b7
into
python:main
bedevere-app
Bot
removed
the
awaiting core review
label
AlexWaygood
deleted the
enum-import-time
branch
csm10495 pushed a commit to csm10495/cpython that referenced this pull request
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request
dmartmillan
mentioned this pull request
sharktide
mentioned this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment