diff options
author | Daniel Hollas <danekhollas@gmail.com> | 2024-01-31 09:29:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 09:29:44 (GMT) |
commit | 5e390a0fc825f21952beb158e2bda3c5e007fac9 (patch) | |
tree | e34fcbd54e1700bf8ba9424bc50946f569f04074 /Misc | |
parent | c8cf5d7d148944f2850f25b02334400dd0238cb0 (diff) | |
download | cpython-5e390a0fc825f21952beb158e2bda3c5e007fac9.zip cpython-5e390a0fc825f21952beb158e2bda3c5e007fac9.tar.gz cpython-5e390a0fc825f21952beb158e2bda3c5e007fac9.tar.bz2 |
gh-109653: Speedup import of threading module (#114509)
Avoiding an import of functools leads to 50% speedup of import time.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-01-23-23-13-47.gh-issue-109653.KLBHmT.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-01-23-23-13-47.gh-issue-109653.KLBHmT.rst b/Misc/NEWS.d/next/Library/2024-01-23-23-13-47.gh-issue-109653.KLBHmT.rst new file mode 100644 index 0000000..76074df --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-01-23-23-13-47.gh-issue-109653.KLBHmT.rst @@ -0,0 +1 @@ +Reduce the import time of :mod:`threading` module by ~50%. Patch by Daniel Hollas. |