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

Devaraj Das updated HADOOP-3365:
--------------------------------

    Status: Open  (was: Patch Available)

> SequenceFile.Sorter.MergeQueue.next does an unnecessary copy of the key
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-3365
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3365
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Arun C Murthy
>            Assignee: Devaraj Das
>             Fix For: 0.18.0
>
>         Attachments: 3365.patch, 3365.patch, 3365.patch
>
>
> SequenceFile.Sorter.MergeQueue.next does an unnecessary copy of the *rawKey*. 
> We should remove that copy, and move code which adjusts the _heap_ from 
> {{next()}} to {{getKey()}}, which should then just return {{ms.getKey()}}, 
> thereby eliminating the extra copy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to