This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients python-dev, serhiy.storchaka, vstinner, xiang.zhang
Date 2017-01-10.11:55:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484049308.0.0.127206848607.issue28870@psf.upfronthosting.co.za>
In-reply-to
Content
no_small_stack-2.patch: Remove all "small_stack" buffers.

Reference

test_python_call: 7175 calls before crash, stack: 1168 bytes/call
test_python_getitem: 6235 calls before crash, stack: 1344 bytes/call
test_python_iterator: 5344 calls before crash, stack: 1568 bytes/call

=> total: 18754 calls, 4080 bytes

no_small_stack.patch

test_python_call: 7482 calls (+307) before crash, stack: 1120 bytes/call (-48)
test_python_getitem: 6715 calls (+480) before crash, stack: 1248 bytes/call (-96)
test_python_iterator: 5693 calls (+349) before crash, stack: 1472 bytes/call (-96)

=> total: 19890 calls (+1136), 3840 bytes (-240)

The total gain is the removal of 5 small buffers of 48 bytes: 240 bytes.
History
Date User Action Args
2017-01-10 11:55:08vstinnersetrecipients: + vstinner, python-dev, serhiy.storchaka, xiang.zhang
2017-01-10 11:55:07vstinnersetmessageid: <1484049308.0.0.127206848607.issue28870@psf.upfronthosting.co.za>
2017-01-10 11:55:07vstinnerlinkissue28870 messages
2017-01-10 11:55:07vstinnercreate