diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2013-10-29 23:31:50 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2013-10-29 23:31:50 +0100 |
| commit | 602f7cf0b9afc1c7e0ab859bcfb219d20158a786 (patch) | |
| tree | 29523b171dac7721bee7b985a868863bcc2e6353 /Python/_warnings.c | |
| parent | ab457a2193a612610e996dd4b838437815ad8671 (diff) | |
| download | cpython-git-602f7cf0b9afc1c7e0ab859bcfb219d20158a786.tar.gz | |
Issue #19424: Optimize PyUnicode_CompareWithASCIIString()
Use fast memcmp() instead of a loop using the slow PyUnicode_READ() macro.
strlen() is still necessary to check Unicode string containing null bytes.
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions
