mirror of
https://github.com/python/cpython.git
synced 2024-12-13 11:54:54 +08:00
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. |
||
---|---|---|
.. | ||
_bootstrap_python.c | ||
_freeze_module.c | ||
_freeze_module.py | ||
_testembed.c | ||
freeze_test_frozenmain.py | ||
python.c | ||
README | ||
test_frozenmain.h | ||
test_frozenmain.py |
Source files for binary executables (as opposed to shared modules)