--- Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> > Please try the code below to see the performance impact.
>
> oh, please. do you seriously think that if you don't have to type "self"
> yourself, Python will suddenly be able to turn all instance variables into
> local function variables without any performance overhead ?
Yes, exactly, since you can make the local namespace vs. instance attribute
distinction in C.
Cheers,
Ralf
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com