Hard to understand 'eval'
John Machin
sjmachin at lexicon.net
Sun Jun 15 18:25:57 EDT 2008
On Jun 16, 7:05 am, Dennis Lee Bieber <wlfr... at ix.netcom.com> wrote:
> On Sun, 15 Jun 2008 17:45:12 +0800, TheSaint <fc14301... at icqmail.com>
> declaimed the following in comp.lang.python:
>
> > is it an if....elif....elif probing only the first matching case and drop the
> > remaining checks?
>
> Unless the compile/interpret pass is very unoptimized, once a branch
> has been taken, the others should be totally skipped.
>
Don't you mean "Unless the "compile/interpret pass is VERY VERY
BROKEN", as in "omits to drop in a jump to the end of the 'if'
statement after each chunk of action code"?
More information about the Python-list
mailing list