hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10066) Use ByteArrayOutputStream#writeTo where appropriate
Date Mon, 02 Dec 2013 09:11:35 GMT
Andrew Purtell created HBASE-10066:
--------------------------------------

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


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)

Mime
View raw message