[BangPypers] Performance benefits of Generators?

Amit Saha amitsaha.in at gmail.com
Tue Jun 30 12:07:44 CEST 2009


On Tue, Jun 30, 2009 at 3:36 PM, Amit Saha<amitsaha.in at gmail.com> 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 ?

Since, this is out of mere curiosity, for the moment, performance
would be simply the time taken to complete a task.

-Amit

-- 
Journal: http://amitksaha.wordpress.com,
µ-blog: http://twitter.com/amitsaha

Freenode: cornucopic in #scheme, #lisp, #math,#linux, #python


More information about the BangPypers mailing list