--- Thomas Wouters <thomas@[...].net> wrote:> The main difference isn't the lookup of 'self', it's the attribute retrieval> of 'x' from 'self'.
I see. Thanks!
If you put 'self' into a special category (with corresponding C code), couldn't
you use the same "indexing" tricks as for local variables and make 'self.x'
just as fast as 'x'?
Cheers,
Ralf
__________________________________________
Yahoo! DSL Â? Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
_______________________________________________
Python-Dev mailing list
Python-Dev@[...].org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev-ml%40activestate.c
om