[Python-checkins] python/dist/src/Lib opcode.py,1.5,1.6

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Jun 21 12:31:46 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26471/Lib

Modified Files:
	opcode.py 
Log Message:
Install two code generation optimizations that depend on NOP.
Reduces the cost of "not" to almost zero.



Index: opcode.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/opcode.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** opcode.py	7 Mar 2004 07:31:05 -0000	1.5
--- opcode.py	21 Jun 2004 16:31:13 -0000	1.6
***************
*** 50,53 ****
--- 50,54 ----
  def_op('ROT_FOUR', 5)
  
+ def_op('NOP', 9)
  def_op('UNARY_POSITIVE', 10)
  def_op('UNARY_NEGATIVE', 11)




More information about the Python-checkins mailing list