[jira] [Commented] (SPARK-9458) Avoid object allocation in prefix generation

2015-07-30 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-9458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14648308#comment-14648308
 ] 

Apache Spark commented on SPARK-9458:
-

User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/7803

 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
 Fix For: 1.5.0


 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-9458) Avoid object allocation in prefix generation

2015-07-29 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-9458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org