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? It may still be possible to do them -- the AND1 and OR1 bytecodes in my proposal are conditional branch instructions, much like the existing boolean operator bytecodes. -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com