commit | 01dbc109a83b17e19f3da1da9572b6de17add502 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Dec 20 23:48:28 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Dec 20 23:48:28 2007 +0000 |
tree | 1752f92a251f31d3322e85f9819d7132dc8d04a0 | |
parent | 30b78048a670bc2a97f28d468d4239cc9a843673 [diff] |
Improve performance of built-in any()/all() by avoiding PyIter_Next() -- using a trick found in ifilter(). Feel free to backport to 2.5.