[Python-ideas] Yield-from: Timings

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 22 22:44:04 CET 2009

I've done some timings, and preliminary results
suggest that the overhead of delegating via a
yield-from is about 10% of what it is using a
for-loop with a yield in it.

That's somewhat higher than I was expecting,
but still a considerable improvement.


More information about the Python-ideas mailing list