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 Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/13 16:36:00 UTC

[jira] [Closed] (HBASE-5958) Replace ByteString.copyFrom with new ByteString()

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

Andrew Kyle Purtell closed HBASE-5958.
--------------------------------------
    Assignee:     (was: Jimmy Xiang)

> 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.95.2
>            Reporter: Jimmy Xiang
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.7#820007)