amaliujia commented on PR #10438: URL: https://github.com/apache/ozone/pull/10438#issuecomment-4629190109
I read the Javadoc and [ByteBuffer.wrap](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html#wrap(byte%5B%5D)) does not copy the bytes but more like creating a view. I assume this means there is no expensive copy operation. Is the modification for this PR about performance improvement or something else? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
