complete than the original program (up to ~40% depending on which modifiersYou may be interested in reading through this thread
were used), despite producing initial results more quickly.
http://mail.python.org/pipermail/pyt...ry/473650.html
where looping vs generators were timed and you can see that
generators clearly (and sadly) impose a speed penalty as
demonstrated by Andrew Reedick. I'm not sure whether the "why"
of it was ever determined, but generators should be used with
care if speed is more important than clarity.
-tkc