[Python-Dev] Code Generation Idea Was: Bytecode idea
Skip Montanaro
skip@pobox.com
Wed, 26 Feb 2003 07:53:22 -0600
Raymond> There is a piece of low hanging fruit in "while True"
Raymond> constructs. If the code generator can recognize it, ...
Yes, that would improve things, but it gets back to the issue that True
isn't strictly speaking a constant, but has to be evaluated each pass around
the loop.
None is moving slowly toward becoming a true constant. Perhaps the same
should be true of True and False.
Skip