On 5/19/07, Greg Ewing <[EMAIL PROTECTED]> wrote: > Raymond Hettinger wrote: > > FWIW, the peephole optimizer takes advantage of the current meaning > > of and/or to generate faster code. > > Can you give some examples of the sort of optimisations > that are done?
Look in Python/peephole.c, function PyCode_Optimize(). Search for "case JUMP_IF_FALSE". There's a nice comment immediately preceding that line. -j _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
