EfficientSplit (original) (raw)

Scala 3

Generated with

Copyright (c) 2002-2025, LAMP/EPFL

Copyright (c) 2002-2025, LAMP/EPFL

scala.collection.Stepper.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.

Attributes

Source

Stepper.scala

Graph

Supertypes

In this article

Generated with

Copyright (c) 2002-2025, LAMP/EPFL

Copyright (c) 2002-2025, LAMP/EPFL