Skip to content

Add an interface for parsing raw data (byte[]) #932

Open
@bfjm

Description

@bfjm

Is your feature request related to a problem? Please describe.
Use String to pass messages. String is immutable, but many String objects cannot be reused

Describe the solution you'd like
Add an interface for message.fromBytes

Describe alternatives you've considered
Use ByteBuffer instead

Additional context
In a trading system, we want to reduce gc and increase object reuse, and if we think in terms of byte[], object reuse will increase

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