Message186252
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. |
|
Date |
User |
Action |
Args |
2013-04-07 22:24:35 | vstinner | set | recipients:
+ vstinner, georg.brandl, pitrou, ezio.melotti, ethan.furman, serhiy.storchaka, Neil.Hodgson |
2013-04-07 22:24:35 | vstinner | set | messageid: <1365373475.84.0.844451207328.issue17615@psf.upfronthosting.co.za> |
2013-04-07 22:24:35 | vstinner | link | issue17615 messages |
2013-04-07 22:24:35 | vstinner | create | |
|