]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #17615: Comparing two Unicode strings now uses wmemcmp() when possible
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 8 Apr 2013 20:43:44 +0000 (22:43 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 8 Apr 2013 20:43:44 +0000 (22:43 +0200)
commitcd777eaf53e438e2c3b7aab384f18d56b262bc0b
tree5a95e3a6567bbf8dd559a73124c866d91360b35b
parent9fc5981ea2ee722a8012e67aaa5cf6d6cae99bb1
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.
Objects/unicodeobject.c
PC/pyconfig.h
configure
configure.ac
pyconfig.h.in