summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@gmail.com>2009-02-28 19:03:21 +0000
committerJeffrey Yasskin <jyasskin@gmail.com>2009-02-28 19:03:21 +0000
commitb54607ea2a7480a0e96c7262ce4af972aedaa1e0 (patch)
treec9cf11fdb317ef9f182b5fea0914c5deaf9eaaba /Modules
parent1bc05e091a65c6b57a98e9a7f7b461ffe08dbfb1 (diff)
downloadcpython-b54607ea2a7480a0e96c7262ce4af972aedaa1e0.tar.gz
Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with
POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing a POP_TOP on each conditional and sometimes allows the peephole optimizer to skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions