commit | 137e28ec377d1e7c1397948126b5fe4bbe1f7186 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Fri Jan 20 21:08:38 2023 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Jan 23 17:10:08 2023 +0000 |
tree | 4c02d25a7f1ff1e137abfa1bf3a09946942a84d7 | |
parent | 023f338492922ed521f33ae552d2be4c3b4553ad [diff] |
Optimize pushing duplicates of 0. Rather than writing a zero and then swizzling out duplicates, we can just zero out a range of slots directly. This happens often enough that it's worth optimizing. Change-Id: Ic5d9bf1b37d0c61f72056ccd0025e850938393fd Bug: skia:13676 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/632696 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>