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: Arun C Murthy
             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.

Reply via email to