You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/07/30 02:51:04 UTC
[jira] [Commented] (SPARK-9458) Avoid object allocation in prefix
generation
[ https://issues.apache.org/jira/browse/SPARK-9458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646995#comment-14646995 ]
Apache Spark commented on SPARK-9458:
-------------------------------------
User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/7763
> Avoid object allocation in prefix generation
> --------------------------------------------
>
> Key: SPARK-9458
> URL: https://issues.apache.org/jira/browse/SPARK-9458
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Reynold Xin
>
> In our existing sort prefix generation code, we use expression's eval method to generate the prefix, which results in object allocation for every prefix.
> We can use the specialized getters available on InternalRow directly to avoid the object allocation.
--
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