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, python-dev, vstinner, yselivanov
Date 2017-02-01.16:49:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485967751.0.0.672274617394.issue29263@psf.upfronthosting.co.za>
In-reply-to
Content
INADA Naoki: "Maybe, we should do: * Make clinic use more METH_FASTCALL * Use clinic more in builtin methods; before trying this optimization."

I created the issue #29286 "Use METH_FASTCALL in str methods" which is now fixed. I started to propose patches for other funnctions, types and modules.

Would you mind to rebase your loadmethod-fastcall.patch patch Naoki?

With my change 0b219348ec9e, I'm not sure that your change on methoddescr_call() is still needed.

I tried to rebase your change, but I failed to get the "1.10x faster" result. Maybe I did something wrong, maybe my change 0b219348ec9e already optimized method calls for C functions?
History
Date User Action Args
2017-02-01 16:49:11vstinnersetrecipients: + vstinner, methane, python-dev, yselivanov
2017-02-01 16:49:11vstinnersetmessageid: <1485967751.0.0.672274617394.issue29263@psf.upfronthosting.co.za>
2017-02-01 16:49:10vstinnerlinkissue29263 messages
2017-02-01 16:49:10vstinnercreate