Missing import scala.collection.parallel in Scala 2.13
stackoverflow.com › questions › 56542568Parallel collections have been moved in Scala 2.13 to separate module scala/scala-parallel-collection. This Scala standard module contains the package scala.collection.parallel, with all of the parallel collections that used to be part of the Scala standard library. For Scala 2.13, this module is a separate JAR that can be omitted from projects that do not use parallel collections. thus from 2.13 onwards we need the following dependency
Parallel Collection Conversions - Scala Documentation
docs.scala-lang.org › overviews › parallelThese collections are converted to their parallel variants by copying the elements into a similar parallel collection. For example, a functional list is converted into a standard immutable parallel sequence, which is a parallel vector. Every parallel collection can be converted to its sequential variant using the seq method. Converting a parallel collection to a sequential collection is always efficient– it takes constant time.
GitHub - scala/scala-parallel-collections: Parallel ...
github.com › scala › scala-parallel-collectionsThis Scala standard module contains the package scala.collection.parallel, with all of the parallel collections that used to be part of the Scala standard library (in Scala 2.10 through 2.12). For Scala 3 and Scala 2.13, this module is a separate JAR that can be omitted from projects that do not use parallel collections. Documentation. https://docs.scala-lang.org/overviews/parallel-collections/overview.html; https://javadoc.io/doc/org.scala-lang.modules/scala-parallel-collections_2.13 ...