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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to