]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109653: Speedup import of threading module (#114509)
authorDaniel Hollas <danekhollas@gmail.com>
Wed, 31 Jan 2024 09:29:44 +0000 (09:29 +0000)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2024 09:29:44 +0000 (09:29 +0000)
commit5e390a0fc825f21952beb158e2bda3c5e007fac9
treee34fcbd54e1700bf8ba9424bc50946f569f04074
parentc8cf5d7d148944f2850f25b02334400dd0238cb0
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>
Lib/threading.py
Misc/NEWS.d/next/Library/2024-01-23-23-13-47.gh-issue-109653.KLBHmT.rst [new file with mode: 0644]