Build optimization
Techniques to make builds faster or produce smaller, more efficient binaries.
Build optimization operates on two levels: accelerating the build process itself (parallel jobs, incremental compilation, caching) and improving the final product (Link Time Optimization, dead code elimination, symbol table reduction). Link Time Optimization (LTO) is the most common: the compiler emits intermediate representation to the linker, which can then perform whole-program optimizations that the compiler alone cannot.
A well-optimized build can shrink iteration time from minutes to seconds and reduce binary size from megabytes to kilobytes. Both matter hugely for developer productivity and deployment.