2 ms·
To me, it seems to support lazy evaluation much better with a generator. Additionally composability seems improved, due to all functions being able to be writt
by Akronymus 6y ago
To me, it seems to support lazy evaluation much better with a generator.
Additionally composability seems improved, due to all functions being able to be written in a way where they themselves become generators, so you apply all steps only to each result you retrieve. Potentially saving quite a bit of execution time, if you don't need the full collection.