[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call
STINNER Victor
report at bugs.python.org
Tue Feb 1 08:22:24 EST 2022
STINNER Victor <vstinner at python.org> added the comment:
Previous issues about stack memory usage, work done in 2017:
* bpo-28870: Reduce stack consumption of PyObject_CallFunctionObjArgs() and like
* bpo-29227: Reduce C stack consumption in function calls
* bpo-29465: Modify _PyObject_FastCall() to reduce stack consumption
29464
I summarized the results in the "Stack consumption" section of my article: https://vstinner.github.io/contrib-cpython-2017q1.html
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46600>
_______________________________________
More information about the Python-bugs-list
mailing list