Login
From:
Kobzol’s blog
(Uncensored)
subscribe
Make the Rust compiler 5% faster with this one weird trick | Kobzol’s blog
https://kobzol.github.io/rust/rustc/2023/10/21/make-rust-compiler-5percent-faster.html
links
backlinks
Tagged with:
rust
rustc
TL;DR: On Linux, if you have Transparent Huge Pages enabled, you can try to run cargo with the environment variable MALLOC_CONF="thp:always,metadata_thp:always" for a potential ~5% speed boost.
Roast topics
Find topics
Find it!