Comment

Comment by bori

I'm looking at the C maxArray example and see that the for loop:

  for (i = 0; i < 65536; i++)
gets compiled as

  .L2:
          add     rax, 8
          cmp     rax, 524288
          jne     .L4
Is there any fundamental reason why the loop increments with 8 instead of 1? Or is this completely arbitrary? Thanks.
parent bori 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton