IterTools.jl icon indicating copy to clipboard operation
IterTools.jl copied to clipboard

eager vs lazy evaluation

Open rapus95 opened this issue 6 years ago • 0 comments

Maybe we could begin unifying the iterator interface to a lazy only version to get people used to materializing manually where needed. Then we should add some Cache iterator and a materializing function though. The latter one would probably just call collect. The Cache iterator would be needed to prevent the situation that originally made Base use eager evaluation as the default.

rapus95 avatar Oct 10 '19 06:10 rapus95