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 amaury.forgeotdarc, barry, ezio.melotti, flox, gvanrossum, jcea, larry, ncoghlan, pitrou, python-dev, scoder, serhiy.storchaka, terry.reedy, vstinner
Date 2013-02-21.22:32:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361485945.92.0.549013500066.issue17170@psf.upfronthosting.co.za>
In-reply-to
Content
Cython does that in general, sure. However, this ticket is about a specific case where string methods (which are implemented in C) are slow when called from Python. Antoine found out that the main overhead is not so much from the method lookup itself but from argument parsing inside of the function. The unpacking code that Cython generates for the equivalent Python signature would speed this up, while keeping or improving the compatibility with Python call semantics.
History
Date User Action Args
2013-02-21 22:32:25scodersetrecipients: + scoder, gvanrossum, barry, terry.reedy, jcea, amaury.forgeotdarc, ncoghlan, pitrou, vstinner, larry, ezio.melotti, flox, python-dev, serhiy.storchaka
2013-02-21 22:32:25scodersetmessageid: <1361485945.92.0.549013500066.issue17170@psf.upfronthosting.co.za>
2013-02-21 22:32:25scoderlinkissue17170 messages
2013-02-21 22:32:25scodercreate