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 methane, ncoghlan, rhettinger, serhiy.storchaka, vstinner, yselivanov
Date 2017-03-14.15:02:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489503723.16.0.367848226104.issue29735@psf.upfronthosting.co.za>
In-reply-to
Content
I measured that my patch (pull request) increases the stack usage of 64 bytes per partial_call() call. I consider that it's accepted for a speedup between 1.12x faster and 1.25x faster.

Attached partial_stack_usage.py requires  testcapi_stack_pointer.patch of issue #28870.

Original:

f(): [1000 calls] 624.0 B per call
f2(): [1000 calls] 624.0 B per call

Patched:

f(): [1000 calls] 688.0 B per call (+64 B)
f2(): [1000 calls] 688.0 B per call (+64 B)
History
Date User Action Args
2017-03-14 15:02:03vstinnersetrecipients: + vstinner, rhettinger, ncoghlan, methane, serhiy.storchaka, yselivanov
2017-03-14 15:02:03vstinnersetmessageid: <1489503723.16.0.367848226104.issue29735@psf.upfronthosting.co.za>
2017-03-14 15:02:03vstinnerlinkissue29735 messages
2017-03-14 15:02:03vstinnercreate