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?
- A. Peephole optimization ✓
- B. Cross-compiler
- C. Just-in-time (JIT) compilation
- D. Bytecode
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.