Open
Description
The shakespeare benchmark implementation for j.u.s.Stream has this assignment :
This would probably be more performant as this:
Function<String, IntStream> toBeMaxed =
word -> IntStream.concat(first3.apply(word), last3.apply(word));
From a fairness perspective this should be tried because I notice the other Shakespeare implementations do this with the equivalent of concat
rather than flatMap
.
I'll be interested to see the results. By the way do you publish the benchmark results (those nifty graphs) somewhere (other than twitter)?
Metadata
Metadata
Assignees
Labels
No labels