📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    Which of these is an example of a peephole optimization

    technique?
    A Loop unrolling Correct Answer Incorrect Answer
    B Dead code elimination Correct Answer Incorrect Answer
    C Constant folding Correct Answer Incorrect Answer
    D Strength reduction Correct Answer Incorrect Answer
    E All of the above Correct Answer Incorrect Answer

    Solution

    Peephole optimization looks at small sets of instructions and replaces them with efficient sequences.

    Practice Next
    ask-question