Which of the following statements about peephole optimization is False?
(A) It is applied to a small part of the code
(B) It can be used to optimize intermediate code
(C) To get the best out of this, it has to be applied repeatedly
(D) It can be applied to the portion of the code that is not contiguous
Explanation: Peephole optimization is kind of optimization technique in which it is applied to a small portion of code called as ‘peep or window’ and peep optimization technique is used to optimize the code in intermediate code generation and to get the best out of all this technique, it has to be applied repeatedly manner but it can not be applied to the portion of the code that is not contiguous form.
Hence option (D) is false.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.