Closed totekp closed 9 years ago
Discovered this function I never used before with sequential collections to compute sum in parallel and lazily. I looked at foldLeft at first, but it was sequential in ParSeq. It passes my local tests and has same performance.
Good find! I hadn't used that before either :)
Discovered this function I never used before with sequential collections to compute sum in parallel and lazily. I looked at foldLeft at first, but it was sequential in ParSeq. It passes my local tests and has same performance.