summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-24 06:54:19 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-24 06:54:19 (GMT)
commit9d6897accc49f40414fbecafeb1c65562c6e4647 (patch)
treee8c26f80a6e2dc56004450ea807c56e7e3e813b2 /Objects/stringobject.c
parent6248f441ea3ca34ed3306eb8634e6815a42611b4 (diff)
downloadcpython-9d6897accc49f40414fbecafeb1c65562c6e4647.zip
cpython-9d6897accc49f40414fbecafeb1c65562c6e4647.tar.gz
cpython-9d6897accc49f40414fbecafeb1c65562c6e4647.tar.bz2
Speed up the most egregious "if token in (long tuple)" cases by using
a dict instead. (Alas, using a Set would be slower instead of faster.)
Diffstat (limited to 'Objects/stringobject.c')
0 files changed, 0 insertions, 0 deletions