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 scoder, serhiy.storchaka, vstinner
Date 2016-08-23.14:55:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471964131.41.0.533436552379.issue27841@psf.upfronthosting.co.za>
In-reply-to
Content
> It uses a small buffer allocated on the stack C if the function is called with 4 arguments or less, or it allocates a buffer in the heap memory.

Maybe 4 is too small. On 64 bit, it's just 5*8=40 bytes. Maybe we can use a buffer of 10 pointers: 80 bytes? It would optimize calls with up to 9 arguments (1 pointer is used for "obj" argument, the "prepended" argument).
History
Date User Action Args
2016-08-23 14:55:31vstinnersetrecipients: + vstinner, scoder, serhiy.storchaka
2016-08-23 14:55:31vstinnersetmessageid: <1471964131.41.0.533436552379.issue27841@psf.upfronthosting.co.za>
2016-08-23 14:55:31vstinnerlinkissue27841 messages
2016-08-23 14:55:31vstinnercreate