diff options
author | Guido van Rossum <guido@python.org> | 2002-08-24 06:54:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-24 06:54:19 (GMT) |
commit | 9d6897accc49f40414fbecafeb1c65562c6e4647 (patch) | |
tree | e8c26f80a6e2dc56004450ea807c56e7e3e813b2 /Objects/stringobject.c | |
parent | 6248f441ea3ca34ed3306eb8634e6815a42611b4 (diff) | |
download | cpython-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