[BangPypers] Performance benefits of Generators?

Amit Saha amitsaha.in at gmail.com
Fri Jul 3 17:11:15 CEST 2009


On Tue, Jun 30, 2009 at 3:47 PM, Shekhar<pythonic at gmail.com> wrote:
> 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.

This is the "Version 2" of his earlier ChiPy talk on Generators. I am
going through it.. Thanks for pointing to it!

Best,
Amit
>
> Cheers,
> Shekhar
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
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