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

Wei-Chiu Chuang updated HDDS-7161:
----------------------------------
    Summary: Make Checksum.int2ByteString() zero-copy  (was: 
Checksum.int2ByteString() is expensive)

> Make Checksum.int2ByteString() zero-copy
> ----------------------------------------
>
>                 Key: HDDS-7161
>                 URL: https://issues.apache.org/jira/browse/HDDS-7161
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Client
>    Affects Versions: 1.3.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: Screen Shot 2022-08-22 at 6.56.03 PM.png, 
> impalad-rhel12.ozone.cisco.local.html
>
>
> Checksum.int2ByteString() allocates a temporary byte array and then make a 
> copy of it, which is very expensive.
> It can be replaced with a zero copy wrapper, using 
> UnsafeByteOperations.unsafeWrap() API.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to