bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Side effect brought by copy rather than wrap

Open ytong01 opened this issue 1 month ago • 0 comments

QUESTION

In ReadEntryProcessorV3, the entry ByteBuf is converted to ByteString by ByteString#copyFrom, Appearently copy is not suitable for a high performance requirement. I mean why not use UnsafeByteOperation here, this seems reduce a unnecessary copy action. Hope I have make it sense and look forward to your reply soon, thanks.

ytong01 avatar Nov 12 '25 06:11 ytong01