commit | a164574937d6ed32060ad34ea04913ca10741394 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Feb 06 22:05:42 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Feb 06 22:05:42 2005 +0000 |
tree | d9afe6c3cad9bd6b961435d6ea1e1572f8001b8c | |
parent | dbecd93b7203cd187c1978de1207c29d3a9a686c [diff] |
Transform "x in (1,2,3)" to "x in frozenset([1,2,3])". Inspired by Skip's idea to recognize the throw-away nature of sequences in this context and to transform their type to one with better performance.