Constructing parallel streams (original) (raw)
Brian Goetz brian.goetz at oracle.com
Mon Dec 10 17:20:20 PST 2012
- Previous message: Constructing parallel streams
- Next message: Constructing parallel streams
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
And what is the semantics of parallel on an infinite stream, you split the infinity ?
It is perfectly sensible. We can take infinite generators and parallelize them easily enough; see the implementation of Iterators.spliterator(). The only challenge is "how do you make it stop", if you care about that. Which is why we're talking about cancelation.
- Previous message: Constructing parallel streams
- Next message: Constructing parallel streams
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-experts mailing list