generator expressions: performance anomaly?

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Sun Jan 16 17:45:56 EST 2005


Raymond Hettinger wrote:

> Check out the current source.  The time machine beat you to it.

Nick's other suggestion - that genexps propagate __len__ - might still
be interesting. Of course, it would only be applicable for unconditional
genexps(i.e. no if clause).

Tim Delaney



More information about the Python-list mailing list