STINNER Victor added the comment: Oh, with pyobject_fastcall-4.patch, the stack usage of test_python_iterator is even better. The reference is 1056 bytes/call, pyobject_fastcall-2.patch was 944 bytes/call.
haypo@smithers$ ./python ../default/stack_overflow_28870-sp.py test_python_call: 9883 calls before crash, stack: 848 bytes/call test_python_getitem: 10476 calls before crash, stack: 800 bytes/call test_python_iterator: 9189 calls before crash, stack: 912 bytes/call => total: 29548 calls, 2560 bytes ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29465> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com