-
Notifications
You must be signed in to change notification settings - Fork 41
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
Reduce the symbol load caused by feature templates #41
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
027533a
Remove the use of the aggregator
mxgrey f42517c
Use flat and lean inheritance structure
mxgrey 0c0103a
Remove all unnecessary template instantiations
mxgrey b4815cc
Remove unnecessary code
mxgrey e8f0b76
Fix code check
mxgrey d3755b9
Add a unit test for FlattenFeatures
mxgrey 346ee84
Make a template easier for MSVC
mxgrey 5063964
Merge branch 'ign-physics2' into reduce_symbols
scpeters f0d33b1
Merge branch 'ign-physics2' into reduce_symbols
chapulina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the
Aggregate
template be removed now thatExtractAPI
doesn't use it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, @azeey ! I'll go ahead and merge this PR to unblock
ign-gazebo
, but @mxgrey , feel free to follow up in a subsequent PR if needed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is not the case, fortunately! There should be no problem at all with having duplicate features.
I considered that, but I didn't have enough time to really explore it. When I inspect the symbols that get generated, there are relatively few symbols related to
ComposePlugin
, most likely because all entity types for the same set of features share the same plugin type, so cutting down onComposePlugin
probably won't offer much. It's certainly worth trying if someone has cycles to spare.For some reason I thought
Aggregate
was still being used somewhere, but I can no longer find wherever I thought it was being used. So sure, I guess we can throw it out now.