2 ms·
Often with large C++ codebases the link step can be the bottleneck. Not only it can't be easily parallelized for a single target, but even if you have multiple
by gpderetta 11y ago
Often with large C++ codebases the link step can be the bottleneck. Not only it can't be easily parallelized for a single target, but even if you have multiple independent binary targets, the high memory usage of the link step makes it hard to run multiple lds at the same time.
I have seen optimized builds run faster than debug builds simply because many symbols where being removed during optimization speeding up the link step.