Wei-Chiu Chuang created HDDS-7161:
-------------------------------------

             Summary: Checksum.int2ByteString() is expensive
                 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
         Attachments: Screen Shot 2022-08-22 at 6.56.03 PM.png

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