experience trying out lambda-8-b74

Paul Sandoz paul.sandoz at oracle.com
Sat Feb 2 04:14:45 PST 2013


On Jan 27, 2013, at 7:47 PM, Brian Goetz <brian.goetz at Oracle.COM> wrote:
> That said, its interesting that you see different parallelization by 
> adding the intermediate collect() stage.  This may well be a bug, we'll 
> look into that.
> 

The wrapping spliterator (that encapsulates the source spliterator of one element and the explode op) is not very smart. 

We could use the same spliterator from iterator trick to extract some parallelism by further wrapping the wrapping the dumb wrapping spliterator. However, at the moment i am not quite sure of the exact rules when to apply this trick.

Paul.


More information about the lambda-dev mailing list