Skip to content

Side effect brought by copy rather than wrap #4681

Open

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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