commit | d663bdb900a9f609f63309170bd046cd85346e57 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Thu Apr 28 10:19:56 2022 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Apr 28 15:04:55 2022 +0000 |
tree | 676a3b4feed26afda2761359c63608c7db12dd9b | |
parent | 8c11cb04a2d650f1a8f181c7f4e443ee728d075c [diff] |
Replace bytewise copy loop with memcpy. Using memcpy gives the optimizer more latitude to do smart things. SkStrAppendU64 already had memcpy here; I just copy-pasted the code over from there. Change-Id: Id63881122acf544cb4457e708438ffb14479abdc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/534938 Reviewed-by: Ben Wagner <bungeman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com>