Slide 63
Slide 63 text
Characteristics of Parallel Collection
• Array
• ArrayBuffer
• Vector
• mutable.HashMap
• immutable.HashMap
• Range
• mutable.HashSet
• immutable.HashSet
• concurrent.TrieMap
List Vector ParVector
scala> (1 to 10000).toList.par
res2: ParVector(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, …
Takes cost of transformation