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 scoder
Recipients josh.r, larry, scoder, serhiy.storchaka
Date 2015-02-21.15:36:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424533018.2.0.599266075732.issue23492@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, I suggest you look at the code that Cython generates for its functions. It has been extensively profiled and optimised (years ago), so generating the same code for the argument clinic should yield the same performance.

And while I don't have exact numbers at hand, avoiding the tuple packing for the call by passing it into a METH_O function can make a substantial difference. It also kills support for keyword arguments, though.
History
Date User Action Args
2015-02-21 15:36:58scodersetrecipients: + scoder, larry, serhiy.storchaka, josh.r
2015-02-21 15:36:58scodersetmessageid: <1424533018.2.0.599266075732.issue23492@psf.upfronthosting.co.za>
2015-02-21 15:36:58scoderlinkissue23492 messages
2015-02-21 15:36:57scodercreate