Mercurial > cpython-lru_cache-weakref
comparison Python/errors.c @ 31618:bc006682acb2 legacy-trunk
SF patch #910929: Optimize list comprehensions
Add a new opcode, LIST_APPEND, and apply it to the code generation for
list comprehensions. Reduces the per-loop overhead by about a third.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sun, 07 Mar 2004 07:31:06 +0000 |
| parents | 86fdf8fe7f17 |
| children | 846b3ee7e106 |
comparison
equal
deleted
inserted
replaced
| 31617:ebba5582dc0d | 31618:bc006682acb2 |
|---|
