commit | 247109e74dcdde19c491c966496655cb87834981 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Apr 09 23:53:26 2013 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Apr 09 23:53:26 2013 +0200 |
tree | d1a3f603a2743dfb853b9bf2546d53e65c0b44fc | |
parent | 2a4df127c731330be8455ed8b0640987ec9dae6b [diff] |
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.