Rewrite the loop from exercise 2. 28 to reduce the number of legv8 instructions executed. Hint: notice that variable i is used only for loop control.
A) Use a while loop instead
B) Inline the loop body
C) Precompute loop bounds
D) Replace with a for loop

Q&A Education