diff options
author | Guido van Rossum <guido@python.org> | 2007-12-20 23:48:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-12-20 23:48:28 (GMT) |
commit | 01dbc109a83b17e19f3da1da9572b6de17add502 (patch) | |
tree | 1752f92a251f31d3322e85f9819d7132dc8d04a0 /Modules | |
parent | 30b78048a670bc2a97f28d468d4239cc9a843673 (diff) | |
download | cpython-01dbc109a83b17e19f3da1da9572b6de17add502.zip cpython-01dbc109a83b17e19f3da1da9572b6de17add502.tar.gz cpython-01dbc109a83b17e19f3da1da9572b6de17add502.tar.bz2 |
Improve performance of built-in any()/all() by avoiding PyIter_Next() --
using a trick found in ifilter().
Feel free to backport to 2.5.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions