stream() / parallelStream() methods
tim at peierls.net
Sat Feb 9 10:22:42 PST 2013
On Sat, Feb 9, 2013 at 1:13 PM, Joe Bowbeer <joe.bowbeer at gmail.com> wrote:
> The separation of parallel() from stream() also presents more
> possibilities for the user, and therefore also raises questions. Where in
> the expression does parallel() belong? In the parallel string-compare
> example, I had a choice between boxed().parallel() or parallel().boxed().
> Which is "right"? Or maybe I should insert parallel() even later in the
Yup, that's the sort of uncertainty that really slows me down. All those
choices to make, especially when the type system doesn't yield clues. I'd
rather give up on clean ways to express certain intricate (and uncommon?)
combinations than have to make choices like these.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lambda-libs-spec-experts