You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/09/07 09:04:20 UTC
[jira] [Resolved] (SPARK-17359) Use +=(A) instead of append(A) in
performance critical paths
[ https://issues.apache.org/jira/browse/SPARK-17359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-17359.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
Issue resolved by pull request 14914
[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
> Fix For: 2.1.0
>
>
> 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