Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Which loop is faster?

Name: Anonymous 2012-01-16 8:59


for (I = 0; I < N; I++)
  for (J = 0; J < M; J++)
    update(Xs[I][J]);

or

for (I = 0; I < N; I++)
  for (J = 0; J < M; J++)
    update(Xs[J][I]);

???

Name: Anonymous 2012-01-16 9:21

>>1
I++, not ++i.'
>confirmed for java developer

Name: Anonymous 2012-01-16 9:22

>>5
you're a fucking faggot. you probably don't even know the difference between i++ and ++i.

Name: Anonymous 2012-01-16 9:23

>>6
fuck you fagstorm

Name: Anonymous 2012-01-16 9:31

>>7
u got told, kid

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List