summaryrefslogtreecommitdiff
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-10-29 23:31:50 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-10-29 23:31:50 +0100
commit602f7cf0b9afc1c7e0ab859bcfb219d20158a786 (patch)
tree29523b171dac7721bee7b985a868863bcc2e6353 /Python/_warnings.c
parentab457a2193a612610e996dd4b838437815ad8671 (diff)
downloadcpython-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