Optimizing for Thread-Local Objects

The efficiency of Biased Reference Counting's dual-count system stems from the observation that most Python objects, even in multi-threaded programs, are primarily accessed by a single thread, making the fast, non-atomic path the common case.

Sources

Open the full topic