cpython/Tools/ftscalingbench
Edward Xu ce79154176
gh-139103: fix free-threading dataclass.__init__ perf issue (gh-141596)
The dataclasses `__init__` function is generated dynamically by a call to `exec()` and so doesn't have deferred reference counting enabled. Enable deferred reference counting on functions when assigned as an attribute to type objects to avoid reference count contention when creating dataclass instances.
2025-11-19 00:57:59 +00:00
..
ftscalingbench.py gh-139103: fix free-threading dataclass.__init__ perf issue (gh-141596) 2025-11-19 00:57:59 +00:00