Skip to content

Avoiding message allocations? #21

Description

@cswaney

Currently, we create a message object for every message. Since the messages are processed in sequence, we should be able to reuse messages of the same type (they use the exact number of bits). A message can just be a pointer to a location in the message buffer. Given a message type, you can either overwrite the allocated memory or maybe even just read directly from the buffer.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions