slisson / shadowmodels

Incremental model transformations for JetBrains MPS
2 stars 0 forks source link

Use persistent model implementation to run transformations without read access #141

Closed slisson closed 5 years ago

slisson commented 5 years ago

You can't alway avoid expensive transformations/analysis and in some cases it's good enough if you see the result with a delay of a few seconds. The bad thing is that the transformation has to happen inside a read action which blocks write actions from the editor.

Running the transformations/analysis on a copy of the input model using a persistent data structure will solve this concurrency issue.