5 ms·
It makes working with iterators easy - this way you're always talking about one thing at a time, instead of the whole collection/iterator, making efficient comp
by stuartaxelowen 11y ago
It makes working with iterators easy - this way you're always talking about one thing at a time, instead of the whole collection/iterator, making efficient computation easy.
Also, the abstraction allows for optimizations like delegating to Apache Spark or other processes/threads.