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 Neil.Hodgson, ethan.furman, ezio.melotti, georg.brandl, pitrou, serhiy.storchaka, vstinner
Date 2013-04-07.22:24:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365373475.84.0.844451207328.issue17615@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch specializing unicode_compare() for each combinaison of (kind1, kind2), to avoid the expensive PyUnicode_READ() macro (2 if). On Linux using GCC -O3 (GCC 4.7), there is no difference since GCC already specialize the loops. It may help other compilers.
History
Date User Action Args
2013-04-07 22:24:35vstinnersetrecipients: + vstinner, georg.brandl, pitrou, ezio.melotti, ethan.furman, serhiy.storchaka, Neil.Hodgson
2013-04-07 22:24:35vstinnersetmessageid: <1365373475.84.0.844451207328.issue17615@psf.upfronthosting.co.za>
2013-04-07 22:24:35vstinnerlinkissue17615 messages
2013-04-07 22:24:35vstinnercreate