You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/12/03 04:29:35 UTC

[jira] [Updated] (HBASE-10066) Use ByteArrayOutputStream#writeTo where appropriate

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

Andrew Purtell updated HBASE-10066:
-----------------------------------

    Attachment: 10066.patch

> Use ByteArrayOutputStream#writeTo where appropriate
> ---------------------------------------------------
>
>                 Key: HBASE-10066
>                 URL: https://issues.apache.org/jira/browse/HBASE-10066
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.98.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.98.0
>
>         Attachments: 10066.patch
>
>
> We can avoid some unnecessary copies by using ByteArrayOutputStream#writeTo instead of #toByteArray followed by write(). Found this in a few places.



--
This message was sent by Atlassian JIRA
(v6.1#6144)