Playing with Dict - Can anyone see a way around this?
s713221 at student.gu.edu.au
s713221 at student.gu.edu.au
Mon May 21 17:51:54 EDT 2001
> So NEXT time an attribute is accessed, it won't be in __dict__
> and so __getattr__ will be called -- and it will delegate to
> __recompute for just-in-time recomputation...
>
> Alex
Now THAT I like. I was concerned about the efficiency of updating lists
every time I added or subtracted from the list. I haven't had much
experience with map, and zip, so while I'm using the code, I'm also
reading up a little on these commands.
Joal Heagney/AncientHart
More information about the Python-list
mailing list