Skip to content

Side effect brought by copy rather than wrap #4681

@ytong01

Description

@ytong01

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions