Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved compilation time of WBToolbox blocks by optimizing the `Bloc…
…kinitialization()` code. - Refer to #189 for full details. - In `Blockinitialization()` current implementation, we first retrieve the list of all the WBT blocks in the model. Then we look for the closest Config block, starting from the block's scope, and going up in the tree. - The optimization consisted in retrieving only the Config blocks (name under mask is `ImConfig`) instead of the full list. the reduced list is enough for the second regexp, when looking for the closest Config, since only the lines containing `ImConfig` are supposed to match the regexp. - This change is compatible with the support of multi-config models.
- Loading branch information