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] [Resolved] (SPARK-9458) Avoid object allocation in prefix generation
Date Fri, 31 Jul 2015 00:18:04 GMT

     [ https://issues.apache.org/jira/browse/SPARK-9458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reynold Xin resolved SPARK-9458.
--------------------------------
    Resolution: Fixed

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


Mime
View raw message