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

Conversation

@joelnn
Copy link

@joelnn joelnn commented Jun 9, 2018

Invoking the MessageBuffer constructor showed up as a hotspot in my profiling. There is no need for it when we are only using MessageBuffer itself, not one of the subclasses.

This patch improves unpackValue performance for my data by about 25%.

(previously #477)

@joelnn
Copy link
Author

joelnn commented Sep 4, 2018

Thoughts on merging this?

@xerial
Copy link
Member

xerial commented Oct 18, 2018

OK. This optimization looks nice if we are using only MessageBuffer.

@xerial xerial merged commit d8f0366 into msgpack:develop Oct 18, 2018
@xerial
Copy link
Member

xerial commented Oct 18, 2018

Merged.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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