L
Lasse Vågsæther Karlsen
Michael said:My guess is it would be slower by a small amount but you never know. Maybe
on some processor a < is faster than =. The only way to know is try it.
Michael
But it could be possible that the entire pixel comparison code could be
removed and replaced with altogether different constructs.
However, if you have already picked the algorithm that is the fastest
one, code-level optimizations like the OP's code would make sense.
But it should never be the first thing to try.