wrapping yield ?

Michael Sparks Michael.Sparks at rd.bbc.co.uk
Fri Sep 13 09:18:54 EDT 2002


> Don't forget that iterating with a generator is *much* more efficient than
> calling a Python functions thousands of times.
...
> the subsequent iterations have virtually no overhead at all.

Can't forget something you don't already know - very much appreciated...

Best Regards,


Michael.





More information about the Python-list mailing list