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 jdemeyer
Recipients Mark.Shannon, jdemeyer, petr.viktorin, scoder
Date 2019-05-13.15:22:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557760974.34.0.94387480475.issue36904@roundup.psfhosted.org>
In-reply-to
Content
_PyStack_UnpackDict() is used to convert from the FastCallDict calling convention to FastCallKeywords. It currently needs two allocations: one for the tuple of keyword names and one for the array of arguments (positional and keyword).

This can be optimized by using a single allocation, storing everything in a single tuple. That tuple can then be artificially truncated to the required size when done.
History
Date User Action Args
2019-05-13 15:22:54jdemeyersetrecipients: + jdemeyer, scoder, petr.viktorin, Mark.Shannon
2019-05-13 15:22:54jdemeyersetmessageid: <1557760974.34.0.94387480475.issue36904@roundup.psfhosted.org>
2019-05-13 15:22:54jdemeyerlinkissue36904 messages
2019-05-13 15:22:54jdemeyercreate