Oleg Verych <olecom@flower.upol.cz> writes:> > What is more efficient in general sense,> as opposed to s,3,2,1,0 Optimized?

In general it shouldn't matter at all on any reasonably modern CPU (let's say less than 10 years old) unless you doit tens of thousands of times in a loop. Also gcc has reasonabledefault heuristics for this kind of stuff anyways(e.g. return NULL or return negative value is predictedunlikely by default)

Cache misses are far more important to care about becausethey cost hundreds of cycles.