commit | 796cdb7839f09b5d594cfb8c92ac1928b47c4aa9 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Thu Oct 08 12:06:53 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Oct 08 17:18:42 2020 +0000 |
tree | cec7084ceac2410f9843113e6d22fcc825285a3d | |
parent | ed84b73797f0bdb50cba5e6c0a8483921056ebe1 [diff] |
Use SkTHashMap to implement DefinitionMap. The benchmarks show a negligible performance decrease over the bespoke TinyUnorderedMap class, but it's well within the margin of error, and a real hash map will scale better in pathological cases. Nanobench: http://screen/537ETJivpGdVJpk Change-Id: I21279c47742a5dac81d57c7e9f7da4bfc595fdc9 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323114 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>