uv author: codegen-units=1 speeds builds 50%, cuts memory 67%
Astral founder Charlie Marsh reports that setting codegen-units=1 made uv builds 50% faster, cut peak memory by 67% and binary size by 17%, while another dev found fat LTO shrinks CLI size 15% at the cost of 16% slower clean builds.
2026-10-08 ~ 2026-10-08 · 4 related posts
- Rust tip: codegen-units = 1 makes uv build 50% faster with 67% less memory — charliermarsh · 2026-10-08
- Codex tip: setting codegen-units=1 makes Rust PGO instrumented builds >90% faster — charliermarsh · 2026-10-08
- Fat LTO cuts CLI size ~15% but builds 16% slower with 29% more memory — mohamedmansour · 2026-10-08
1 near-duplicate retellings: charliermarsh