diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-04-08 20:43:44 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-04-08 20:43:44 (GMT) |
commit | cd777eaf53e438e2c3b7aab384f18d56b262bc0b (patch) | |
tree | 5a95e3a6567bbf8dd559a73124c866d91360b35b /pyconfig.h.in | |
parent | 9fc5981ea2ee722a8012e67aaa5cf6d6cae99bb1 (diff) | |
download | cpython-cd777eaf53e438e2c3b7aab384f18d56b262bc0b.zip cpython-cd777eaf53e438e2c3b7aab384f18d56b262bc0b.tar.gz cpython-cd777eaf53e438e2c3b7aab384f18d56b262bc0b.tar.bz2 |
Issue #17615: Comparing two Unicode strings now uses wmemcmp() when possible
wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora
18/x86_64, GCC 4.7.2.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 231146a..4f252dc 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1118,6 +1118,9 @@ /* Define to 1 if you have the `wcsxfrm' function. */ #undef HAVE_WCSXFRM +/* Define to 1 if you have the `wmemcmp' function. */ +#undef HAVE_WMEMCMP + /* Define if tzset() actually switches the local timezone in a meaningful way. */ #undef HAVE_WORKING_TZSET @@ -1190,9 +1193,6 @@ /* Define if setpgrp() must be called as setpgrp(0, 0). */ #undef SETPGRP_HAVE_ARG -/* Define this to be extension of shared libraries (including the dot!). */ -#undef SHLIB_EXT - /* Define if i>>j for signed int i does not extend the sign bit when i < 0 */ #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS |