On Tue, Jun 30, 2009 at 3:37 PM, Amit Saha<[email protected]> wrote:
> Since, this is out of mere curiosity, for the moment, performance
> would be simply the time taken to complete a task.
>
Please look at:
http://bitbucket.org/rm/substitutions/src/tip/prunepropogate.py#cl-86

This change (in explode) speeded up the rest of the code by a
great deal.  I don't know if it was the generators per se, or just
lesser memory usage, but this might be an example of generator
based speedup.

Anecdotal evidence this is, I'd be interested in something more
concrete.

PS: the program is wrong, don't spend too much time poring over
    that.
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to