diff options
author | Florin Malita <fmalita@chromium.org> | 2018-06-18 22:25:31 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-19 02:50:58 +0000 |
commit | fb3beb0591aed9fd6bf349eb5d08e0e485bcff08 (patch) | |
tree | caf31a17bff46444489c22589d0f8978bb620062 /samplecode/SampleShip.cpp | |
parent | 74aa9ab51a76429b20410c94beab859dc39beabd (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 'samplecode/SampleShip.cpp')
0 files changed, 0 insertions, 0 deletions