gh-132657: Add maybe_enable_deferred_ref_count() (gh-142843)
If we are specializing to `LOAD_GLOBAL_MODULE` or `LOAD_ATTR_MODULE`, try to enable deferred reference counting for the value, if the object is owned by a different thread. This applies to the free-threaded build only and should improve scaling of multi-threaded programs.
N
Neil Schemenauer committed
bb25f7280af30831fffa3345b4fc93798949c6c6
Parent: 949b5ec
Committed by GitHub <noreply@github.com>
on 1/17/2026, 1:54:43 AM