Reducing "yield from" overhead in recursive generators

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 22 19:17:37 EDT 2022


On 23/03/22 11:44 am, Rathmann wrote:
> So that sounds like the original CPython implementation had an
> O(depth) component, but with a lower constant factor than the current
> version?

Yes, but so much lower that I would expect it to be unmeasurable.

-- 
Greg



More information about the Python-list mailing list