Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Math: micro-optimize vector isInf() and isNan() on Debug builds.
The change won't make any difference in Release, but in Debug builds it avoids calling into set() for every element. This function showed up pretty high in profiler output for DebugTools::CompareImage, now it doesn't anymore. In particular, for ShadersMeshVisualizerGLTest it results in ~10% reduction in run time, which is quite significant.
- Loading branch information