You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
threading.local() access should scale well from multiple threads #128691
Currently, accessing a threading.local() from multiple threads doesn't scale well because of reference count contention on the shared _thread._local object. We should use deferred reference counting on _thread._local to avoid this bottleneck.
changed the title [-]`threading.local()` access should scale well[/-][+]`threading.local()` access should scale well from multiple threads[/+]on Jan 10, 2025
Activity
pythongh-128691: Use deferred reference counting on `_thread._local`
pythongh-128691: Use deferred reference counting on `_thread._local`
pythongh-128691: Use deferred reference counting on `_thread._local`
Merge branch 'main' into pythongh-128691-thread-local-deferred
[-]`threading.local()` access should scale well[/-][+]`threading.local()` access should scale well from multiple threads[/+]gh-128691: Use deferred reference counting on `_thread._local` (#128693)
Revert "pythongh-128691: Use deferred reference counting on `_thread.…
Revert "pythongh-128691: Use deferred reference counting on `_thread.…