Wednesday, January 7, 2009

+1 up

have compilers made it so:
i++ == ++i
in terms of speed?

not that i spend too much time thinking about this, but i've always used the pre-increment to avoid the temp variable that is created with post-increment. Is it one of those things that compilers these days have fixed?

i remember the days of rolling out loops to gain a decent percentage of speed, but modern day compilers pretty much fixed that problem, so no more roll-outs--same with incrementing?