loop beats generator expr creating large dict!?

Steve Holden steve at holdenweb.com
Tue Oct 3 17:35:41 CEST 2006


Fredrik Lundh wrote:
> David Isaac wrote:
> 
> 
>>The current situation is:  use a loop because the obvious generator
>>approach is not efficient.
> 
> 
> "not efficient" compared to what ?
> 
Compared to understanding what's actually going on and working with 
reality as opposed to some superstitious view of how the interpreter 
operates, perhaps?

Dag nab it, I'm turning into the effbot!

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list