--- Thomas Wouters <[EMAIL PROTECTED]> 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@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com