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 | 247109e74dcdde19c491c966496655cb87834981 (patch) | |
tree | d1a3f603a2743dfb853b9bf2546d53e65c0b44fc /Python/pythonrun.c | |
parent | 2a4df127c731330be8455ed8b0640987ec9dae6b (diff) | |
download | cpython-git-247109e74dcdde19c491c966496655cb87834981.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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions