Skip to content

Remove redundant call to Serialize() in ConfigItem::Commit() #9400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

julianbrost
Copy link
Contributor

backport of #9362

The very same object is already serialized a few lines above, the result is
even stored in a variable, but that variable was not used before. Simply using
this variable results in a noticeable improvement of config validation times.
@cla-bot cla-bot bot added the cla/signed label Jun 15, 2022
@icinga-probot icinga-probot bot added area/configuration DSL, parser, compiler, error handling core/quality Improve code, libraries, algorithms, inline docs labels Jun 15, 2022
@icinga-probot icinga-probot bot added this to the 2.13.4 milestone Jun 15, 2022
@julianbrost julianbrost requested a review from Al2Klimov June 23, 2022 08:26
@Al2Klimov Al2Klimov merged commit a46bd9f into support/2.13 Jun 23, 2022
@icinga-probot icinga-probot bot deleted the bugfix/remove-redundant-serialization-2.13 branch June 23, 2022 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling cla/signed core/quality Improve code, libraries, algorithms, inline docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants