2 ms·
> I previously had -Ccodegen-units=8 in RUSTFLAGS because it speeds up compile times. ... the resulting rustc was about 5–10% slower. So I’ve stopped using it n
by wyldfire 10y ago
> I previously had -Ccodegen-units=8 in RUSTFLAGS because it speeds up compile times. ... the resulting rustc was about 5–10% slower. So I’ve stopped using it now.
...why is this the case?
- detaro 10y agoIt breaks the code into smaller modules that are processed independently, thus limiting the scope of optimizations to those modules.