Concerns about parallel streams
Doug Lea
dl at cs.oswego.edu
Thu Jul 11 17:03:19 PDT 2013
Oops, I left out...
On 07/11/13 19:50, Doug Lea wrote:
> Despite this, the easy guidance is:
>
> If you have a lot of data, or very costly per-element computations,
and are not using some hopelessly sequential data structure,
> the best practice is to use parallel(). Otherwise, feel free to
> experiment with it, but don't expect any miracles.
>
> We could even give factor-of-1000-proof numbers here:
> A million elements. A million instructions
>
-Doug
More information about the lambda-libs-spec-observers
mailing list