Why we will use obj$func() often

Greg Ewing greg at cosc.canterbury.ac.nz
Thu Apr 29 00:41:00 EDT 2004


Mark Hahn wrote:
> It turns out that Greg and I were mistaken.  The &var syntax can easily
> handle unlimited nested scopes and not even slow up my one-pass compiler.

It does incur the expense of a run-time lookup for
intermediate-scoped variables, however.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list