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

while vs for

Name: Anonymous 2010-07-02 13:41

Whats the difference?

Name: Anonymous 2010-07-02 14:01

>>2,3
>for(;;) is faster than while(1) because it doesn't have to check a condition on every pass
while(1) also does not have to check the condition, since it's constant. Read your SICP and Dragon book.

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