Core concept
list.parallelStream().map(costly).collect(Collectors.toList());Advertisement
How it works
Task granularity matters. Small work overhead exceeds gain. Common pool shared globally.
Advertisement
Trade-offs + gotchas
CPU-bound work on large collections.