Processing-Mode Equality

Doug Lea dl at cs.oswego.edu
Sun Feb 9 12:09:35 PST 2014


On 02/09/2014 02:15 PM, Sam Pullara wrote:
> My point is that it is currently not decidable whether parallel execution will
> be a win or a loss at compile time — but currently that is where we expose the
> choice.

I'm not sure what you mean. Anyone can write their own helper methods
that return either parallel or sequential streams based on
any (dynamic) information they choose. They are not built in, because
any we could have offered would have been worse than not offering
any at all. Perhaps a third-party industry will grow to fill this gap.

-Doug







More information about the lambda-dev mailing list