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 serhiy.storchaka
Recipients methane, ncoghlan, rhettinger, serhiy.storchaka, vstinner, yselivanov
Date 2017-03-06.16:52:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488819131.84.0.160629277322.issue29735@psf.upfronthosting.co.za>
In-reply-to
Content
If the underlying function doesn't support fast call, and either args or pto->args are empty, partial_call() makes two unneeded copyings. Arguments are copied from a tuple to the raw array and from the array to new tuple. This is what the current code does, but this can be avoided.

If the underlying function doesn't support fast call, and both args and pto->args are not empty, patched partial_call() makes one unneeded copyings. Arguments are copied from tuples to the raw array and from the array to the new tuple. Only one copying is needed (from tuples to the new tuple).
History
Date User Action Args
2017-03-06 16:52:11serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ncoghlan, vstinner, methane, yselivanov
2017-03-06 16:52:11serhiy.storchakasetmessageid: <1488819131.84.0.160629277322.issue29735@psf.upfronthosting.co.za>
2017-03-06 16:52:11serhiy.storchakalinkissue29735 messages
2017-03-06 16:52:11serhiy.storchakacreate