swap function?

Donald O'Donnell donod at home.com
Sat Nov 18 11:58:22 EST 2000


Fredrik:

Thanks for your prompt reply and for correcting my misconceptions.

You say
> 
> (CPython actually uses indexes for all variables: for global names
> and attributes, the index is used to find the name instead).

That's very interesting.  I'm going to try to check out the source.
I'm very interested in how that works

...
> local variables are much faster.  try timing it.
> 
I will, soon as I get a chance.  I'll post the results.

Cheers,

Don



More information about the Python-list mailing list