Burgestrand/Hallon — Issue #79: Enumerator#each does not necessarily need to be lazy
Author: Burgestrand
Created: 2012-02-19 00:46:54+00:00
State: open
Labels: Investigate

Making it eager would mean `playlist.tracks.map(&:load)` would not be as inefficient as it is today.

The only reason to not have it as eager is if a common use case would include aborting the iteration with each, so only part of the collection is loaded. `Enumerable#take` comes to mind.