Constructing parallel streams

Remi Forax forax at univ-mlv.fr
Mon Dec 10 17:04:14 PST 2012


On 12/11/2012 01:41 AM, Brian Goetz wrote:
>> You don't need a method sequential() or parallel() for that, you can use
>> into.
>
> Sure, if you don't care about performance.  Especially if the stream 
> is infinite...into will take a loooong time.

:)

And what is the semantics of parallel on an infinite stream, you split 
the infinity ?

Rémi



More information about the lambda-libs-spec-observers mailing list