blob: 0855ffecdb2ebfe1b4286c693d95880ab09addd9 (
plain) (
tree)
|
|
object Test extends dotty.runtime.LegacyApp {
val x = collection.parallel.mutable.ParArray.range(1,10) groupBy { _ % 2 } mapValues { _.size }
println(x)
val y = collection.parallel.immutable.ParVector.range(1,10) groupBy { _ % 2 } mapValues { _.size }
println(y)
}
|