Enable module level caching using the QueryEngine
#6228
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
language server
LSP server
performance
Everything related to performance, speed wise or memory wise.
We should be able to enable this with the current setup. We would basically be caching the below type, allowing us to skip compilation for that module if no changes were detected.
There will most likely need to be some changes to the garbage collection so we can remove stale types where changed path == SourceId
This should see a pretty dramatic performance increase in the language server for sway projects with lots of files.
The text was updated successfully, but these errors were encountered: