3 ms·
Is that true even with "generator expression" (Python's lazy evaluation)?
by dorfsmay 11y ago
Is that true even with "generator expression" (Python's lazy evaluation)?
- solipsism 11y agoGenerators take the guts of a loop and make them first class. In order to evaluate that generator incrementally, you still need to provide a loop or a recursive function.