spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-9458) Avoid object allocation in prefix generation
Date Thu, 30 Jul 2015 00:45:04 GMT
Reynold Xin created SPARK-9458:
----------------------------------

             Summary: 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


Mime
View raw message