-
- Downloads
[SPARK-6138][CORE][minor] enhance the `toArray` method in `SizeTrackingVector`
Use array copy instead of `Iterator#toArray` to make it more efficient. Author: Wenchen Fan <cloud0fan@outlook.com> Closes #4825 from cloud-fan/minor and squashes the following commits: c933ee5 [Wenchen Fan] make toArray method just in parent 946a35b [Wenchen Fan] minor enhance
Showing
- core/src/main/scala/org/apache/spark/util/collection/PrimitiveVector.scala 12 additions, 3 deletions...la/org/apache/spark/util/collection/PrimitiveVector.scala
- core/src/main/scala/org/apache/spark/util/collection/SizeTrackingVector.scala 0 additions, 7 deletions...org/apache/spark/util/collection/SizeTrackingVector.scala
Please register or sign in to comment