summaryrefslogtreecommitdiffstats
path: root/PC/_msi.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-10-29 22:31:50 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-10-29 22:31:50 (GMT)
commit602f7cf0b9afc1c7e0ab859bcfb219d20158a786 (patch)
tree29523b171dac7721bee7b985a868863bcc2e6353 /PC/_msi.c
parentab457a2193a612610e996dd4b838437815ad8671 (diff)
downloadcpython-602f7cf0b9afc1c7e0ab859bcfb219d20158a786.zip
cpython-602f7cf0b9afc1c7e0ab859bcfb219d20158a786.tar.gz
cpython-602f7cf0b9afc1c7e0ab859bcfb219d20158a786.tar.bz2
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 'PC/_msi.c')
0 files changed, 0 insertions, 0 deletions