Skip to main content
123456dad
Associate II
November 6, 2023
Question

Problem about code optimization

  • November 6, 2023
  • 0 replies
  • 1426 views

i get two defferent results with O0 and O2 optimization

123456dad_0-1699238235429.png

O0 result

123456dad_3-1699238443333.png

 

O2 result

123456dad_2-1699238262536.png

But I think the result of O2 is more like right because the label is daisy.

Should I always open O2 optimization?

 

This topic has been closed for replies.