]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128691: Use deferred reference counting on `_thread._local` (#128693)
authorSam Gross <colesbury@gmail.com>
Fri, 10 Jan 2025 00:59:10 +0000 (19:59 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Jan 2025 00:59:10 +0000 (00:59 +0000)
commitc1417487e98e270d614965ed78ff9439044b65a6
tree9c1956881d668247a9daee46e9abc6058e0ba36e
parent087bb48acac997c06e69dae25bae2dd75194b980
gh-128691: Use deferred reference counting on `_thread._local` (#128693)

This change, along with the LOAD_ATTR specializations, makes the
"thread_local_read" micro benchmark in Tools/ftscalingbench/ftscalingbench.py
scale well to multiple threads.
Modules/_threadmodule.c