hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3365) SequenceFile.Sorter.MergeQueue.next does an unnecessary copy of the key
Date Tue, 13 May 2008 19:41:55 GMT

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

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

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.

> 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.


Mime
View raw message