[
https://issues.apache.org/jira/browse/HDDS-10756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-10756:
----------------------------------
Labels: pull-request-available (was: )
> Avoid proto2 ByteString#copyFrom(byte[])
> ----------------------------------------
>
> Key: HDDS-10756
> URL: https://issues.apache.org/jira/browse/HDDS-10756
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
>
> As the name implied, ByteString#copyFrom(byte[]) creates a ByteString by
> copying the given byte array. In some cases (e.g. the byte array is already
> copied), the copying can be avoided by using
> Proto2Utils.unsafeByteString(byte[]).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]