Reuse semantic models where possible when recompiling modules #3785
Labels
enhancement
New feature or request
performance
Relates to improving or profiling performance of the Bicep C# code
tech debt
Fixing this issue will pay down technical debt we have accumulated.
top 10 committed
Milestone
At the moment we reuse syntax trees for unchanged files in the module tree, but recreate every single semantic model from scratch if there is any change to the parent module.
This is a bit of a performance nightmare for larger module structures. We should figure out a way of computing which upstream files are affected by a given change, and only replace semantic models for those files.
See #3636 for discussion on an example perf problem which this could help alleviate.
The text was updated successfully, but these errors were encountered: