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.
Problems
About 3 years ago, I tried to customized
MeasureBandsSmoothed.inc
, but there were issues with performance and CPU usage. Back then, I didn't considered users with slower PC, which kinda disappointing.Solution
This time, I added the 'switch' feature in variable file. I discovered this 'switch' thing about 1-2 years ago, which kinda neat. Without modifying the default
MeasureBandsSmoothed
file (but renaming it toMeasureBandsSmoothed0.inc
), 'switch' allows users to switch between the default and the customized file by using number. I added my customized file (MeasureBandsSmoothed1.inc
) to give an idea how the 'switch' works.Additional Information
For my 'multipliers' and 'divider' thing, that's only used for my custom
MeasureBandsSmoothed
file.Summary
So the main point here is, for any user who want to use any custom
MeasureBandsSmoothed
file without modifying the default file(even changing the file's extension to .bak), 'switch' is the solution. [I'm sorry if I'm repeating this again]What do you think?