]> granicus.if.org Git - python/commit
Improve performance of built-in any()/all() by avoiding PyIter_Next() --
authorGuido van Rossum <guido@python.org>
Thu, 20 Dec 2007 23:48:28 +0000 (23:48 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 Dec 2007 23:48:28 +0000 (23:48 +0000)
commit01dbc109a83b17e19f3da1da9572b6de17add502
tree1752f92a251f31d3322e85f9819d7132dc8d04a0
parent30b78048a670bc2a97f28d468d4239cc9a843673
Improve performance of built-in any()/all() by avoiding PyIter_Next() --
using a trick found in ifilter().
Feel free to backport to 2.5.
Python/bltinmodule.c