You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2008/05/08 13:45:55 UTC
[jira] Assigned: (HADOOP-3365) SequenceFile.Sorter.MergeQueue.next
does an unnecessary copy of the key
[ https://issues.apache.org/jira/browse/HADOOP-3365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj Das reassigned HADOOP-3365:
-----------------------------------
Assignee: Devaraj Das (was: Arun C Murthy)
> 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
>
>
> 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.