mbeddr / mbeddr.core

The mbeddr core. An extensible C
Eclipse Public License 2.0
225 stars 77 forks source link

com.mbeddr.utils.refactoring.ProjectionModeSwitcher very slow #2176

Open eugenschindler opened 3 years ago

eugenschindler commented 3 years ago

Regardless of how big a model is, since MPS 2020.1 (at least), it takes more than a few seconds to switch projections. Compare this with switching through pushing an editor hints, which works instantaneously. So there must be something in the ProjectionModeSwitcher that delays things enormously.

alexanderpann commented 4 months ago

This is not a surprise:  The toggle action rebuilds all opened editor components and calls ApplicationManager.getApplication().saveAll()
I wonder why saveAll() has to be called?