DescriptionShrink SVGTransform::valueAsString
Use a StringBuilder and convert transformTypePrefixForParsing to return
const char*.
Since this is a uniform arguments notation, put the arguments in an
array and loop through them, appending them to the result.
This reduces the size of this method from a bit of 6k to a bit over 950
bytes (x86-64).
Committed: https://crrev.com/8b082d0c40be97848889cb3a0a42294042aee9dd
Cr-Commit-Position: refs/heads/master@{#365354}
Patch Set 1 #Patch Set 2 : Restore "" behavior for UNKNOWN. #Patch Set 3 : Move builder init after switch. #
Total comments: 2
Messages
Total messages: 12 (5 generated)
|