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 <>
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.
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: <>
2013-02-21 22:32:25scoderlinkissue17170 messages
2013-02-21 22:32:25scodercreate