]> granicus.if.org Git - python/commit
Adopt Skip's idea to optimize lists of constants in the context
authorRaymond Hettinger <python@rcn.com>
Mon, 7 Feb 2005 19:32:38 +0000 (19:32 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 7 Feb 2005 19:32:38 +0000 (19:32 +0000)
commit7fcb7869ba82586f68e0cf28c3a25e78457fa0e0
treeaa9eef07f6653ca56676489cd68c4d8bbbbc0bc5
parentfe59dc1bd83d769acb47336f3570ec99e6ba16b6
Adopt Skip's idea to optimize lists of constants in the context
of a "in" or "not in" test.
Lib/test/test_peepholer.py
Python/compile.c