Possible minor optimization in scaleTextureCoordinates

But you never compare it to a different way. So I’m not sure how the information is useful on its own.



I was just confused.

i tried all 4 loops on my code by copy pasting it.

@tralala said:
i tried all 4 loops on my code by copy pasting it.


For the future, for microbenchmarks such as these it is better to run all versions of the tests in the same session to avoid environmental differences that could effect the results. Run all tests together, run them large enough to take a measurable amount of time, run the whole suite five times, and throw away the first three results.