commit | 6cc2d9fefcec7024f02dadb996e0cfb56d0af917 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Thu Feb 20 13:31:27 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Feb 21 22:37:03 2020 +0000 |
tree | 8de2a181dcf27fd84f7b5d819a4a57aa47f59a5a | |
parent | 7f83eec790e2f40842c26367dbaa9f0e0cec1b1a [diff] |
Use a hash table to quickly locate the strike The hash table maps descriptors to strikes. So, instead of searching through the linked list, find the strike directly. Change-Id: I53c6fc72c009c35e3476fabd02cee9ee93145c64 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/272465 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>