You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sandeep Singh (JIRA)" <ji...@apache.org> on 2014/07/20 08:46:38 UTC
[jira] [Commented] (SPARK-2574) Avoid allocating new ArrayBuffer in
groupByKey's mergeCombiner
[ 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)