Open thSoft opened 8 years ago
I think optimizations in the GlobalScopeProvider should not be done at this point. Looking at the time spent for a full build of Mozart-KV254 (with a custom XtextResource measuring the time for each step), parsing is where most time is spent now.
parse: 2365 (52 invocations) link: 373 (52 invocations)
parsedefaultImports: 469 (22 invocations) linkdefaultImports: 63 (22 invocations)
Getting rid of a backtracking parser seems to be the most promising time saver.
Can you enumerate which aspects should be improved. Linking may still be an issue (caching of libraries that are unlikely to change).