> I guess the real question is whether ==> my $x is really assigning a
> list or binding an iterator to a Lazy slot somewhere.  It feels like
> the latter is more useful.  Which means that ==> @x can return as soon
> as it binds the iterator to @x.specs.  It doesn't have to wait for all
> the values to be produced, which an assignment implies (kinda sorta).

Iterators/streams would also help lazy pipelines play well with GC.
Using an array seems to require shifts to reclaim memory, an
iterator would do the right thing by default.

Brad

-- 
 Intelligence is nothing more than discussing things with others.
 Limitless wisdom comes of this. -- Hagakure

Reply via email to