aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathRendererCacheTests.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2018-05-09 13:53:59 -0400
committerGravatar Mike Reed <reed@google.com>2018-05-09 19:00:22 +0000
commit010ce2bc74a82bb2fc310b145799468637d5fcb5 (patch)
tree37a7477668ea2150bf3e2bffbd85d0561289ab7d /tests/PathRendererCacheTests.cpp
parenta2f14de3aedc7f6b413e7075cff1c94b0533c820 (diff)
rewrite while to for loop to avoid last increment
Can we efficiently avoid the last "increment" step for these sorts of loops? We are always calculating one more value than we actually need (we do this everywhere we forward-difference something). Bug: oss-fuzz:8146 Cq-Include-Trybots: skia.primary:Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-SKNX_NO_SIMD Change-Id: I8b2838cc51370d53b8854191fce9ff87e5dc669d Reviewed-on: https://skia-review.googlesource.com/127042 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'tests/PathRendererCacheTests.cpp')
0 files changed, 0 insertions, 0 deletions