EfficientSplit
trait EfficientSplit
A marker trait that indicates that a Stepper
can call trySplit
with at worst O(log N) time
and space complexity, and that the division is likely to be reasonably even. Steppers marked
with EfficientSplit
can be converted to parallel streams with the asJavaParStream
method
defined in scala.jdk.StreamConverters.
- Source
- Stepper.scala