On this specific case it was developer helping the gcc optimizer. These type of optimizations could produce worse code in another C compiler.
Sometimes the code is already fast enough for the problem being solved, other times rewriting the algorithm could improve performance.
Only in cases where every ms counts, does helping the compiler really matter.
On this specific case it was developer helping the gcc optimizer. These type of optimizations could produce worse code in another C compiler.
Sometimes the code is already fast enough for the problem being solved, other times rewriting the algorithm could improve performance.
Only in cases where every ms counts, does helping the compiler really matter.