Skip to content

Simplify the config object#294

Merged
xerial merged 2 commits intomsgpack:v07-developfrom
xerial:simplified-config
Nov 17, 2015
Merged

Simplify the config object#294
xerial merged 2 commits intomsgpack:v07-developfrom
xerial:simplified-config

Conversation

@xerial
Copy link
Copy Markdown
Member

@xerial xerial commented Nov 15, 2015

This PR removes Config.getXXX. Although there is some advantage of having getters (replacing the internal field name, add a hook point in future, etc.), this config object is only used for storing configuration values, so I think reducing the code size has much advantage over these benefits.

@xerial
Copy link
Copy Markdown
Member Author

xerial commented Nov 17, 2015

@komamitsu Could you review this PR?

@komamitsu
Copy link
Copy Markdown
Member

@xerial Looks good

xerial added a commit that referenced this pull request Nov 17, 2015
@xerial xerial merged commit 65fd3cd into msgpack:v07-develop Nov 17, 2015
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