- 21 Jun, 2004 1 commit
-
-
Raymond Hettinger authored
Reduces the cost of "not" to almost zero.
-
- 07 Mar, 2004 1 commit
-
-
Raymond Hettinger authored
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.
-
- 12 Feb, 2004 1 commit
-
-
Walter Dörwald authored
From SF patch #852334.
-
- 24 Apr, 2003 1 commit
-
-
Raymond Hettinger authored
The additional code complexity and new NOP opcode were not worth it.
-
- 22 Apr, 2003 1 commit
-
-
Raymond Hettinger authored
* Can now test for basic blocks. * Optimize inverted comparisions. * Optimize unary_not followed by a conditional jump. * Added a new opcode, NOP, to keep code size constant. * Applied NOP to previous transformations where appropriate. Note, the NOP would not be necessary if other functions were added to re-target jump addresses and update the co_lnotab mapping. That would yield slightly faster and cleaner bytecode at the expense of optimizer simplicity and of keeping it decoupled from the line-numbering structure.
-
- 27 Feb, 2003 1 commit
-
-
Skip Montanaro authored
should be generated automatically
-