Compiler Design

A code optimization technique that examines a small set of adjacent instructions to replace them with a more efficient sequence. What is this concept called?

Correct answer

A. Peephole optimization

Explanation

Peephole optimization refers to a code optimization technique that examines a small set of adjacent instructions to replace them with a more efficient sequence.