hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5958) Replace ByteString.copyFrom with new ByteString()
Date Tue, 08 May 2012 19:21:48 GMT

    [ https://issues.apache.org/jira/browse/HBASE-5958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270738#comment-13270738

Elliott Clark commented on HBASE-5958:

Protostuff is usually a little bit faster as well.  https://github.com/eishay/jvm-serializers/wiki/Home/25fd014e66738268670adaf44ff5408ba2244d37

I haven't personally run those benchmarks in a while and it looks like the most recent are
not up yet.  But still something to consider.
> Replace ByteString.copyFrom with new ByteString()
> -------------------------------------------------
>                 Key: HBASE-5958
>                 URL: https://issues.apache.org/jira/browse/HBASE-5958
>             Project: HBase
>          Issue Type: Improvement
>          Components: performance
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
> ByteString.copyFrom makes a copy of a byte array in case it is changed in other thread.
> In most case, we don't need to worry about that.  We should avoid copying the bytes
> for performance issue.

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


View raw message