summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-04-08 20:43:44 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-04-08 20:43:44 (GMT)
commitcd777eaf53e438e2c3b7aab384f18d56b262bc0b (patch)
tree5a95e3a6567bbf8dd559a73124c866d91360b35b /configure.ac
parent9fc5981ea2ee722a8012e67aaa5cf6d6cae99bb1 (diff)
downloadcpython-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 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index caef808..053e4a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2816,7 +2816,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
sigtimedwait sigwait sigwaitinfo snprintf strftime strlcpy symlinkat sync \
sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \
- wcscoll wcsftime wcsxfrm writev _getpty)
+ wcscoll wcsftime wcsxfrm wmemcmp writev _getpty)
AC_CHECK_DECL(dirfd,
AC_DEFINE(HAVE_DIRFD, 1,