Peephole optimization is form of

20162025

Peephole optimization is form of

  1. A.

    Loop optimization

  2. B.

    Local optimization

  3. C.

    Constant folding

  4. D.

    Data flow analysis

Attempted by 128 students.

Show answer & explanation

Correct answer: B

Peephole optimization is a form of local optimization in compiler design. It examines small sequences of instructions to improve efficiency without analyzing the entire program structure.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Isro