STINNER Victor added the comment: no_small_stack.patch: And now something completely different, a patch to remove the "small stack" alllocated on the C stack, always use the heap memory. FYI I created no_small_stack.patch from less_stack.patch.
As expected, the stack usage is lower: * less_stack.patch: 384 bytes/call * no_small_stack.patch: 368 bytes/call I didn't check the performance of no_small_stack.patch yet. ---------- Added file: http://bugs.python.org/file46120/no_small_stack.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28870> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com