diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-04-09 23:53:26 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-04-09 23:53:26 +0200 |
commit | 921589b82d08e66fe5909efb94468eed470719fd (patch) | |
tree | 1e86b1047f81786de6f56b81171d0035f1933550 /PC/pyconfig.h | |
parent | be00b41818e2fa4db992f0c2214ceb30bcf3282d (diff) | |
download | cpython-921589b82d08e66fe5909efb94468eed470719fd.tar.gz |
Issue #17615: On Windows (VS2010), Performances of wmemcmp() to compare Unicode
strings are not convincing. For UCS2 (16-bit wchar_t type), use a dummy loop
instead of wmemcmp(). The dummy loop is as fast, or a little bit faster.
wchar_t is only 16-bit long on Windows. wmemcmp() is still used for 32-bit
wchar_t.
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r-- | PC/pyconfig.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 1284db8610..c5f16e580f 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -645,9 +645,6 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ #define HAVE_WCSXFRM 1 #endif -/* Define to 1 if you have the `wmemcmp' function. */ -#define HAVE_WMEMCMP 1 - /* Define if the zlib library has inflateCopy */ #define HAVE_ZLIB_COPY 1 |