DescriptionUse Vector<...>::append(const U*, size_t) in SVGPathByteStream
This appears to help larger paths a decent amount, while not hurting
smaller paths. Payload for this copy is 2-26 bytes. For a ~3.5k
character path string this reduced runtime of a
setAttribute('d', <path>) micro-benchmark (w/ mostly 10 byte payloads)
by roughly 17%.
BUG=568735
Committed: https://crrev.com/119dbdc4873edbe693a6b715b9cc53613a7e5721
Cr-Commit-Position: refs/heads/master@{#365365}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|