Skip to content

MsgpackParser makes repeated calls to MessageUnpacker.getNextFormat() #48

Description

@puredanger

In MsgpackParser, both parseMap() and parseArray() make repeated calls to MessageUnpacker.getNextFormat(). This method must ensure buffer space and decode a format tag, which should be done once for performance. The code should call this once and reuse the result instead of calling it multiple times.

Activity

  1. added theissue type on Feb 24, 2026
  2. JarrodCTaylor commented on Feb 27, 2026

    @JarrodCTaylor
    Contributor

    Closed by #50

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

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions