3 ms·
Legacy code is working code. Arguably time is better spent making old code go faster than optimizing yet to be written code. And this is not confined to compil
by gpderetta 10y ago
Legacy code is working code. Arguably time is better spent making old code go faster than optimizing yet to be written code.
And this is not confined to compilers. Most general purpose high performance CPUs are actually optimized to make existing code go fast and do not require recompilation to take advantage of many optimizations. Some go as far as recognizing common sequences of instructions and internally converting them to more optimized sequences (for example POWER8 conditional conversion of short jumps to conditional execution).