Skip to content
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

Ignore non-input maps after map merge #3507

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft

Conversation

jelovirt
Copy link
Member

Description

After map merge, ignore non-input maps in processing.

Motivation and Context

After map merge only the input maps are used in processing. Submaps are no longer used for anything. This reduces the number of files that need to be processed.

Preprocess2 has already used this approach in most places, adding this to preprocess makes sense for consistency and performance improvement.

Documentation and Compatibility

This can be backwards incompatible change if custom plug-ins use the submaps after map merge. We have never explicitly forbidden this, but it has never been something that makes sense for plug-ins to do.

@jelovirt jelovirt added priority/medium Medium (or unknown) priority issue preprocess enhancement Changes to an existing feature preprocess2 labels Apr 25, 2020
@jelovirt jelovirt added this to In progress in Next via automation Apr 25, 2020
@jelovirt jelovirt self-assigned this Apr 25, 2020
Signed-off-by: Jarno Elovirta <[email protected]>
Signed-off-by: Jarno Elovirta <[email protected]>
Signed-off-by: Jarno Elovirta <[email protected]>
@jelovirt
Copy link
Member Author

Due to conref and conrefpush between maps, this is somewhat problematic. The non-merged cannot be ignored immediately. The keyref, conref, and conrefpush stages need to be processed first, only then non-merged maps can be ignored or removed.

@jelovirt jelovirt removed this from In progress in Next Oct 15, 2020
@jelovirt jelovirt marked this pull request as draft August 16, 2021 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Changes to an existing feature preprocess preprocess2 priority/medium Medium (or unknown) priority issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant