comparison Python/sysmodule.c @ 51920:ef8fe9088696 legacy-trunk

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.
author Jeffrey Yasskin <jyasskin@gmail.com>
date Sat, 28 Feb 2009 19:03:21 +0000
parents e239e977bb32
children 9b358eae532a
comparison
equal deleted inserted replaced
51916:4e1556012584 51920:ef8fe9088696