3 ms·
Somewhat related, to get optimizations into Wirth's Oberon compiler required the optimizations to 'pay for themselves': Compiling the compiler with a version t
by vidarh 7y ago
Somewhat related, to get optimizations into Wirth's Oberon compiler required the optimizations to 'pay for themselves':
Compiling the compiler with a version the optimization added had to be at least as fast as without, so the speed improvement it provided had to outweigh both the extra code it added to the source, and the runtime complexity.
It didn't serve to make it optimize well, but it served its purpose in keeping the compiler lean and simple to understand, and ensuring fast compilation.