3 ms·
The expensive optimizations are the ones that require non-local analysis. Register allocation is classically a win for compile speed. It takes less compiler wo
by Animats 6y ago
The expensive optimizations are the ones that require non-local analysis.
Register allocation is classically a win for compile speed. It takes less compiler work to put values in registers than to emit all the loads and stores and pushes and pops for putting them on the stack.