Stream: t-compiler/wg-rls-2.0

Topic: All source code is stored in RAM twice


Jonas Schievink (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):

https://github.com/salsa-rs/salsa/blob/37b3c054fe364892ac4c5d0a1fe85c6b47156946/src/interned.rs#L370-L383 <- bit about interned queries

Last update: Sep 27 2020 at 14:00UTC