10000 gh-132952: Import _io instead of io at startup by JelleZijlstra · Pull Request #132957 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-132952: Import _io instead of io at startup #132957

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 28, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Drop 19% claim
  • Loading branch information
JelleZijlstra committed Apr 28, 2025
commit 71bfe4d78fbe806846f0c63d3eee4aaafb9dc4cc
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Speed up startup with the ``-S`` argument by about 19% by importing the
private ``_io`` module instead of :mod:`io`.
Speed up startup with the ``-S`` argument by importing the
private ``_io`` module instead of :mod:`io`. This fixes a performance
regression introduced earlier in Python 3.14 development and restores performance
to the level of Python 3.13.
Loading
0