Skip to content

Include Field.h and FieldVisitor.h into fewer files.#7212

Merged
alexey-milovidov merged 3 commits intomasterfrom
aku/field-includes
Oct 8, 2019
Merged

Include Field.h and FieldVisitor.h into fewer files.#7212
alexey-milovidov merged 3 commits intomasterfrom
aku/field-includes

Conversation

@akuzm
Copy link
Copy Markdown
Contributor

@akuzm akuzm commented Oct 7, 2019

This is a part of #7179. I am merging it separately for the ease of backporting, so that the other PR contains only the bug fix.

Category (leave one):

  • Build/Testing/Packaging Improvement

Short description (up to few sentences):
Optimize some header files for faster rebuilds.

akuzm added 2 commits October 7, 2019 20:23
Move the methods of SettingsCollection<> that are dependent on Field to
a separate file, and include it once for each instantiation. This allows
to work on Field without always recompiling the entire project.
@akuzm akuzm added the pr-build Pull request with build/testing/packaging improvement label Oct 7, 2019
@akuzm akuzm changed the title Include Field.h and FieldVisitor.h in less files. Include Field.h and FieldVisitor.h into fewer files. Oct 7, 2019
#include "PerformanceTestInfo.h"
#include <Common/getMultipleKeysFromConfig.h>
#include <Common/SettingsChanges.h>
#include <Common/SettingsChanges.h> ///
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty commit is better way to trigger CI.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--amend with simple changes to commit messages is another way. (empty commits might lead to weird git history)

@akuzm akuzm force-pushed the aku/field-includes branch from 8514054 to 9355e5f Compare October 8, 2019 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-build Pull request with build/testing/packaging improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants