Mercurial > cpython-lru_cache-weakref
comparison Python/mysnprintf.c @ 44367:eaefb93b5ed4 legacy-trunk
Improve performance of built-in any()/all() by avoiding PyIter_Next() --
using a trick found in ifilter().
Feel free to backport to 2.5.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 20 Dec 2007 23:48:28 +0000 |
| parents | 8af86a952b2c |
| children | 2925b568aacc a8cc8e6f0c1a |
comparison
equal
deleted
inserted
replaced
| 44365:8dead6f81bae | 44367:eaefb93b5ed4 |
|---|
