Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

I'm marking this one as rejected.  The timings have shown mixed results (some 
favorable, some not).  In general, there is a bias against expanding the number 
of opcodes because 1) there aren't that many codes available, 2) it grows the 
size of the switch-case (which has been problematic from some compilers on 
various systems), and because it complicates other optimization efforts such as 
the peephole optimizer or in other tools that depend on bytecode (such as the 
Unladen Swallow LLVM project, Psyco, or ByteCodeHacks). 

Also, the potential improvement is very small because it removes only one 
indirection out of long chain of events involved in a comparison.  Most of the 
time is consumed in abstract dispatch to a concrete comparison method and it 
that method itself.

----------
resolution:  -> rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9155>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to