Consider two declarations for the loop:
for (int i = 0; i < 70; ++i)
and
for (int i = 0; i <= 69; ++i)
I assume the second will do 139 full comparisons, not 69. Is my assumption correct? I am not an electrical engineer, so I don’t know how ALU works, regardless of whether it makes the “less than or equal to” thingamabob in one fell swoop or what.
Can you give an example of use <=?
By the way, I'm trying to become a "hardcore" programmer like you guys.
source
share