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

WHICH IS FASTER

Name: Anonymous 2008-07-04 8:27

(incf foo) or (+ 1 foo)

Name: Anonymous 2008-07-04 8:55

>>1
Those two aren't equivalent.

>>3
If that's used as a statement, there's no difference.
It depends on the compiler and the surrounding code.
But yes, with a naive compiler, the latter is a bit faster

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