Which of the following comment about peep-hole optimization is true?
(A) It is applied to small part of the code and applied repeatedly
(B) It can be used to optimize intermediate code
(C) It can be applied to a portion of the code that is not contiguous
(D) It is applied in symbol table to optimize the memory requirements.
Explanation: Peep-hole optimization is a type of optimization technique which is applied to small part of the code called as ‘peep’ and Peephole optimization involves the changing in small set of instructions to an equivalent set of instruction that gives the better performance compare to other optimization technique and applied repeatedly.
Hence option (A) is correct.
Quiz of this Question