Skip to content

Tiny bug: ParArray for ParVector on parallel collections overview #72

@santiagobasulto

Description

@santiagobasulto

Under the title "Creating a Parallel Collection" (https://github.com/scala/scala.github.com/blob/master/overviews/parallel-collections/overview.md) I think this is wrong:

import scala.collection.parallel.mutable.ParArray
val pv = new ParVector[Int]

We've two options:

import scala.collection.parallel.immutable.ParVector
val pv = new ParVector[Int]
import scala.collection.parallel.immutable.ParArray
val pa = new ParArray[Int]

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions