std.concurrency.Generator yieldAll?

Sean Kelly via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 1 10:11:02 PDT 2014


I see generators as being somewhat like opApply in terms of how 
they're written. So a single generator would recurve across the 
entire tree. Allocating a new generator per node isn't going to 
be very efficient, even if we optimize for that case.


More information about the Digitalmars-d mailing list