I've written a language for working with FIX Protoxol and have created plugin for importing XML specifications into MPS Nodes.
Specification is quite big (2.3 Mb of XML code) and creates several thousands Nodes with complex structure.
Initial import is very slow (SAX parser creates Nodes one-by-one) and takes several minutes to complete; MPS hangs for this time. So, my first question:
1) Is it possible to create Progress dialog for Plugin action? Possibly, with Cancel button.
Undo operation works well, but it takes almost the same time to remove all nodes created by plugin. But, if I just select all those nodes in module and delete them from MPS, it takes few seconds. So, built-in delete operation might work in some kind of batch mode with no updating indexes, no typechecks etc.
2) Can we switch model to non-indexed/non-checked mode for batch operations and do all indexes/checks at once after import is done?
I think, this should give significant performance gain.