Thread: Lol
View Single Post
Old 07-13-2003, 11:44 PM   #4 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,711
redhead is on a distinguished road
In theory it should be slightly faster, given that the postfix operator will make the earlier value of your itterator available for use in the same line. Where as the prefix operator changes the value instantly.
If you made some serius compiler optimization on that, you might end up with saving one or two instructions in the assembly code.. But then again, that'll be one clock-cycle in a 2Ghz CPU.. Not that much anyway.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote