hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5196) avoiding unnecessary byte[] allocation in SequenceFile.CompressedBytes and SequenceFile.UncompressedBytes
Date Fri, 20 Mar 2009 19:30:51 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12684008#action_12684008
] 

Hudson commented on HADOOP-5196:
--------------------------------

Integrated in Hadoop-trunk #785 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/785/])
    . avoiding unnecessary byte[] allocation in SequenceFile.CompressedBytes and SequenceFile.UncompressedBytes.
(hong tang via mahadev)


> avoiding unnecessary byte[] allocation in SequenceFile.CompressedBytes and SequenceFile.UncompressedBytes
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5196
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5196
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.21.0
>            Reporter: Hong Tang
>            Assignee: Hong Tang
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5196-trunk.patch
>
>
> SequenceFile.CompressedBytes and SequenceFile.UncompressedBytes are used by the SequenceFile's
raw bytes reading/writing API. The current implementation does not reuse the internal byte[]
and causes unnecessary buffer allocation and initializaiton (zeroing the buffer).

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