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.

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions