hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3274) The default constructor of BytesWritable should not create a 100-byte array.
Date Thu, 17 Apr 2008 23:09:21 GMT

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

Tsz Wo (Nicholas), SZE updated HADOOP-3274:
-------------------------------------------

    Description: The default byte array should be an empty array and the empty array should
be stored in a static final variable.  Then, there is no unnecessary memory allocation.
        Summary: The default constructor of BytesWritable should not create a 100-byte array.
 (was: BytesWritable )

> The default constructor of BytesWritable should not create a 100-byte array.
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-3274
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3274
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: io
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: 3274_20080417.patch
>
>
> The default byte array should be an empty array and the empty array should be stored
in a static final variable.  Then, there is no unnecessary memory allocation.

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