Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How to avoid allocations when using MessagePack for network communication? #267

Copy link
Copy link
Closed
@rikimaru0345

Description

@rikimaru0345
Issue body actions

When receiving data from the network, and deserializing them into packets, MessagePack creates a new instance.

If we could reuse packets and write new data into them, that would solve the problem.
This PR #110 could fix it, but I'm not sure what its status is. Is it done? Or still in the prototyping stage?

How does everyone avoid needless allocations when deserializing?
Is it just accepted? What about lag from garbage collection?

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.