I was just talking about this in the Dart Community Discord, but figured my problems were unique to my project.
Godot Dart generates a large amount of code to interact with Godot (around 1000 files), which is held in three main libraries, and every other file needs to usually needs to import least one of them. On top of that it has a large FFI file that's imported into most files.
Even if I'm only working in the main `godot_dart` package, initial analysis takes about 47 seconds in Linux (Zorin) with a Intel 13700K. Subsequent analysis is near instant, but modifying any code file in the repo seems to cause almost a full re-analyze.
More frustring, (though this may be specific to Visual Studio Code) is that formatting files, even small files, also seems to take a really long time, and VSCode won't save the file until it has finished the format. I'm not sure why project size affects formatting individual files, unless the hang in the analyzer is causing the format command to get locked up. This slows development time significantly as it seems like contention between the formatter and the analyzer affects all the IDE features, from saving files, to completion, to error detection.
I'm curious if there's something in the package that I can fix that would speed up analysis speed.