commit | 9d6897accc49f40414fbecafeb1c65562c6e4647 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Aug 24 06:54:19 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Aug 24 06:54:19 2002 +0000 |
tree | e8c26f80a6e2dc56004450ea807c56e7e3e813b2 | |
parent | 6248f441ea3ca34ed3306eb8634e6815a42611b4 [diff] |
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.)