mirror of https://github.com/python/cpython
ea2c001650
This is the implementation of PEP683 Motivation: The PR introduces the ability to immortalize instances in CPython which bypasses reference counting. Tagging objects as immortal allows up to skip certain operations when we know that the object will be around for the entire execution of the runtime. Note that this by itself will bring a performance regression to the runtime due to the extra reference count checks. However, this brings the ability of having truly immutable objects that are useful in other contexts such as immutable data sharing between sub-interpreters. |
||
---|---|---|
.. | ||
Python-tokenize.c.h | ||
_warnings.c.h | ||
bltinmodule.c.h | ||
context.c.h | ||
import.c.h | ||
instrumentation.c.h | ||
marshal.c.h | ||
sysmodule.c.h | ||
traceback.c.h |