[ 
https://issues.apache.org/jira/browse/SPARK-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067815#comment-14067815
 ] 

Sandeep Singh commented on SPARK-2574:
--------------------------------------

[~sandyr] we can rewrite mergeCombiners as
(c1: ArrayBuffer[V], c2: ArrayBuffer[V]) => c1 ++= c2 ,
Instead of (c1: ArrayBuffer[V], c2: ArrayBuffer[V]) => c1 ++ c2

> Avoid allocating new ArrayBuffer in groupByKey's mergeCombiner
> --------------------------------------------------------------
>
>                 Key: SPARK-2574
>                 URL: https://issues.apache.org/jira/browse/SPARK-2574
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 1.0.0
>            Reporter: Sandy Ryza
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to