diff options
author | Paul Phillips <paulp@improving.org> | 2011-04-20 20:43:37 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-04-20 20:43:37 +0000 |
commit | 21ea5ad62747504e2c17c10c779e5c7054a2a297 (patch) | |
tree | 8e3d4ac052ffd406d179da2694a9fd93724a4e13 /src/library/scala/collection/GenTraversableOnce.scala | |
parent | 9be2e5463396e4a5022745c9d61a8431d53e2f99 (diff) | |
download | scala-21ea5ad62747504e2c17c10c779e5c7054a2a297.tar.gz scala-21ea5ad62747504e2c17c10c779e5c7054a2a297.tar.bz2 scala-21ea5ad62747504e2c17c10c779e5c7054a2a297.zip |
One of the blips in the performance charts seem...
One of the blips in the performance charts seems to implicate some
changes I made with slice to reduce the number of implementations and
surface area for inconsistencies and bugs. Altering those changes in a
more performance-mindful way, although I don't see anything here which
is likely to help much. Also fixing some wrong documentation about
copyToArray. No review.
Diffstat (limited to 'src/library/scala/collection/GenTraversableOnce.scala')
-rw-r--r-- | src/library/scala/collection/GenTraversableOnce.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/GenTraversableOnce.scala b/src/library/scala/collection/GenTraversableOnce.scala index 053a6d211a..fb18ce1d72 100644 --- a/src/library/scala/collection/GenTraversableOnce.scala +++ b/src/library/scala/collection/GenTraversableOnce.scala @@ -367,7 +367,7 @@ private[collection] trait GenTraversableOnce[+A] { def copyToArray[B >: A](xs: Array[B]): Unit /** Copies values of this $coll to an array. - * Fills the given array `xs` with values of this $coll, after skipping `start` values. + * Fills the given array `xs` with values of this $coll, beginning at index `start`. * Copying will stop once either the end of the current $coll is reached, * or the end of the array is reached. * |