Why is Python so slow ?- revisited.

Andy Freeman anamax at earthlink.net
Thu Jun 22 23:50:13 EDT 2000


In article <m34s6l4flf.fsf at atrus.jesus.cam.ac.uk>,
  Michael Hudson <mwh21 at cam.ac.uk> wrote:
> Certainly at some point there was no LOAD_FAST opcode; every name
> lookup would first look into a local dict, then the global one, then
> the builtins.  Now references to locals are just indexes into (C)
> vectors; this is much quicker.

Is there a standard way to turn off this optimization on a def
by def basis?

-andy


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list