[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call
Inada Naoki
report at bugs.python.org
Wed Feb 2 19:00:28 EST 2022
Inada Naoki <songofacandy at gmail.com> added the comment:
I didn't mean _Py_abspath is problem. I just used it to describe why -O0 and -Og is so different.
We can reduce stack usage of it easily, but it is not a problem than _PyEval_EvalFrameDefault.
It is difficult to reduce stack usage of _PyEval_EvalFrameDefault with -O0.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46600>
_______________________________________
More information about the Python-bugs-list
mailing list