Skip to content

WrappedMessage should avoid byte[] allocation for inner message #522

@wburns

Description

@wburns

This byte[] allocation for a nested message

can use a ByteBuffer instead which should provide a constant allocation cost instead of a possibly very large byte[] if the nested message is bigger, which can very easily with any user key or value object references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions