aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PaintTest.cpp
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-06-18 22:25:31 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-19 02:50:58 +0000
commitfb3beb0591aed9fd6bf349eb5d08e0e485bcff08 (patch)
treecaf31a17bff46444489c22589d0f8978bb620062 /tests/PaintTest.cpp
parent74aa9ab51a76429b20410c94beab859dc39beabd (diff)
[skjson] More short string micro-optimizations
When possible, load 8 chars and mask out the tag and \0 terminator. ~19% faster on a Z840, ~5% faster on a PixelC. Change-Id: I12d4b7d86c92c887b00f5d2480d3ff05a7042df1 Reviewed-on: https://skia-review.googlesource.com/135624 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'tests/PaintTest.cpp')
0 files changed, 0 insertions, 0 deletions