Message336718
> if LTO is enabled, the same stack bloat issues are possible
Please test, I'm not interested to spend too much time on that topic.
To be clear, _Py_NO_INLINE was a hack and a micro-optimization. It doesn't solve a real bug. Python has very weak promises on the maximum stack depth.
My work on reducing the stack memory usage was mostly motivated by my work on FASTCALL, since some patches reduced the maximum stack depth. They increased the stack memory usage with micro-optimizations like "PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];" which is allocated on ths stack: see Objects/call.c. |
|
Date |
User |
Action |
Args |
2019-02-26 22:35:25 | vstinner | set | recipients:
+ vstinner, rhettinger, serhiy.storchaka, josh.r, sir-sigurd |
2019-02-26 22:35:25 | vstinner | set | messageid: <1551220525.53.0.316770475269.issue36030@roundup.psfhosted.org> |
2019-02-26 22:35:25 | vstinner | link | issue36030 messages |
2019-02-26 22:35:25 | vstinner | create | |
|