Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-109653: Improveenum import time by avoiding import offunctools#109789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanfurman merged 1 commit intopython:mainfromAlexWaygood:enum-import-time
Sep 23, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygoodAlexWaygood commentedSep 23, 2023
edited by bedevere-appbot
Loading

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

@AlexWaygoodAlexWaygood added performancePerformance or resource usage 3.13bugs and security fixes type-featureA feature request or enhancement stdlibPython modules in the Lib dir labelsSep 23, 2023
@ethanfurmanethanfurman merged commit51863b7 intopython:mainSep 23, 2023
@AlexWaygoodAlexWaygood deleted the enum-import-time branchSeptember 23, 2023 18:32
csm10495 pushed a commit to csm10495/cpython that referenced this pull requestSep 28, 2023
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JelleZijlstraJelleZijlstraJelleZijlstra approved these changes

@ethanfurmanethanfurmanethanfurman approved these changes

Assignees
No one assigned
Labels
3.13bugs and security fixesperformancePerformance or resource usagestdlibPython modules in the Lib dirtype-featureA feature request or enhancement
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@AlexWaygood@JelleZijlstra@ethanfurman

[8]ページ先頭

©2009-2025 Movatter.jp