Andreas Rossberg (2015-02-16T15:45:28.000Z)
d at domenic.me (2015-02-21T00:39:06.304Z)
On 16 February 2015 at 15:41, Andrea Giammarchi <andrea.giammarchi at gmail.com> wrote: > Common pattern is to poll.next() a yield until its `done` property is > `true` so that a value can be used. > > This is I believe the common case that will create thousands of objects to > be quickly trashed as garbage ... so I was wondering if those are all needed > Er, I don't think this is the common use case at all. You iterate over something to process values, otherwise there isn't much point in using iterators in the first place.