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