SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-124218: Use per-thread refcounts for code objects (#125216)

Use per-thread refcounting for the reference from function objects to
their corresponding code object. This can be a source of contention when
frequently creating nested functions. Deferred refcounting alone isn't a
great fit here because these references are on the heap and may be
modified by other libraries.
S
Sam Gross committed
3ea488aac44887a7cdb30be69580c81a0ca6afe2
Parent: 206de41
Committed by GitHub <[email protected]> on 10/15/2024, 7:06:41 PM