spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-17359) Use +=(A) instead of append(A) in performance critical paths
Date Thu, 01 Sep 2016 07:47:21 GMT

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

Apache Spark commented on SPARK-17359:
--------------------------------------

User 'lw-lin' has created a pull request for this issue:
https://github.com/apache/spark/pull/14914

> Use +=(A) instead of append(A) in performance critical paths
> ------------------------------------------------------------
>
>                 Key: SPARK-17359
>                 URL: https://issues.apache.org/jira/browse/SPARK-17359
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib, SQL
>    Affects Versions: 2.0.0
>            Reporter: Liwei Lin
>            Priority: Minor
>
> We should generally use ArrayBuffer.+=(A) rather than ArrayBuffer.append(A), because
append(A) would involve extra boxing / unboxing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message