Why Your Parallel Streams were Leaving CPU Cores Idle (And How to Fix It)

I added .parallel() expecting near-linear speedup on 8 cores. I got 60% CPU utilization. Here's why the default spliterator gets load balancing wrong, and how a 50-line fix pushed it to 95%.