Question

Which of the following is an example of a "local optimization"?

A Optimizing an entire program across multiple functions.
B Optimizing a single basic block (a sequence of instructions with one entry and one exit point).
C Optimizing loops by moving invariant code.
D Optimizing memory access patterns across the whole program.
E Optimizing the interaction between different modules.
Practice Next

Hey! Ask a query