Place yer bets.
Lets say you had a program that consists totally of the statement:
a++;
over and over again.
Then another program that consists of the same number of statements but it's:
a = a + 1;
Now the two binaries generated will be the same, but which will take less time to compile?
I believe a++ is just translated to a = a + 1; in which case it'd have that tiny bit of overhead, but wait, a++; takes up less space, so it can load the file off the hard drive faster!
No practical value to this, but it's kinda curious.


Reply With Quote
Bookmarks