diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-03-08 07:56:58 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-03-08 07:56:58 +0000 |
commit | a6c075bc6278b841ba30de5341a8fda51d759126 (patch) | |
tree | 675e5b4a23e273ca1deb277e5a285abc5047cfec /src | |
parent | 3b467cdfe181953f60a8109410be205d8d9934c1 (diff) | |
download | scala-a6c075bc6278b841ba30de5341a8fda51d759126.tar.gz scala-a6c075bc6278b841ba30de5341a8fda51d759126.tar.bz2 scala-a6c075bc6278b841ba30de5341a8fda51d759126.zip |
Added few lines of clarification in the docs of...
Added few lines of clarification in the docs of ParallelIterableLike.
No review.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/parallel/ParIterableLike.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library/scala/collection/parallel/ParIterableLike.scala b/src/library/scala/collection/parallel/ParIterableLike.scala index 1a63e26622..6b32a7c6b8 100644 --- a/src/library/scala/collection/parallel/ParIterableLike.scala +++ b/src/library/scala/collection/parallel/ParIterableLike.scala @@ -122,6 +122,9 @@ import annotation.unchecked.uncheckedVariance * `newCombiner` and `seq`. Having an implicit combiner factory requires extending this trait in addition, as * well as providing a companion object, as with regular collections. * + * Method `size` is implemented as a constant time operation for parallel collections, and parallel collection + * operations rely on this assumption. + * * @author Aleksandar Prokopec * @since 2.9 * |