Use of Serializable in IPC makes an unnecessary copy
----------------------------------------------------

                 Key: HBASE-4807
                 URL: https://issues.apache.org/jira/browse/HBASE-4807
             Project: HBase
          Issue Type: Improvement
          Components: io, ipc
    Affects Versions: 0.92.0
            Reporter: Todd Lipcon
            Priority: Minor


This code path isn't used much, but in HbaseObjectWritable, the code to 
serialize and deserialize Serializables makes an unnecessary copy through 
ByteArrayOutputStream.toByteArray. Instead we could use DataOutputBuffer, 
perhaps.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to