Re:What part of Rust compilation is the bottleneck?
by chrismorgan on Saturday March 16, 2024 @07:02AM
(#39724815)
I don’t find node_modules exceeding even a few hundred megabytes very often. But Rust target directories can easily reach multiple gigabytes.
Re:What part of Rust compilation is the bottleneck?
by pornel on Saturday March 16, 2024 @05:17PM
(#39729543)
Apart from incremental compilation cache, a large chunk of it is debug information. Lowering debug info precision helps a lot (although it’s still suspiciously large.)
If we can squeeze more performance that's great but the largest concern I have around compilation is with the size of the target directory
It can balloon up to node_modules levels