Parallel Streams!!

I am always skeptical of using parallel streams in Java8. For simple reason: You do not have control to decide the pool responsible for executing tasks. By default, common ForkJoinPool executes it. So in short when you do: The common pool executes it. And you…