[BangPypers] Performance benefits of Generators?

Shekhar pythonic at gmail.com
Tue Jun 30 12:17:41 CEST 2009

Amit Saha wrote:
> Hello,
> Theoretically and/or practically, is it possible to reason about the
> performance gain/loss of using generators?  The PEP 255
> (http://www.python.org/dev/peps/pep-0255/) doesn't seem to hint at it.
> Anything that any of you would like to share on this ?
> Best,
> Amit
Hi Amit,

The pdf at http://www.dabeaz.com/generators-uk/GeneratorsUK.pdf was a 
great deal of help for me.
It has good examples about performance (some numbers too) gains in 
different situations.


More information about the BangPypers mailing list