Stream: t-compiler/rust-analyzer

Topic: All source code is stored in RAM twice

Jonas Schievink [he/him] (Jul 03 2020 at 12:46, on Zulip):

I'm doing some more memory profiling and noticed that all source code (in r-a's case, 43 MB) is stored in memory twice, once in the VFS and once, I think, as the Salsa DB inputs. Does that sound right? Any ideas for deduplicating them?

matklad (Jul 03 2020 at 13:10, on Zulip): <- bit about interned queries

Last update: Jul 29 2021 at 09:15UTC