RESOLVED FIXED 105445
WebKitCSSTransformValue::customCssText() should always allocate once
https://bugs.webkit.org/show_bug.cgi?id=105445
Summary WebKitCSSTransformValue::customCssText() should always allocate once
Benjamin Poulain
Reported 2012-12-19 09:37:34 PST
The StringBuilder in WebKitCSSTransformValue::customCssText() has the unfortunate side effect of causing multiple String allocations.
Attachments
Patch (4.53 KB, patch)
2012-12-19 09:47 PST, Benjamin Poulain
no flags
Patch (4.53 KB, patch)
2012-12-19 12:04 PST, Benjamin Poulain
menard: review+
Benjamin Poulain
Comment 1 2012-12-19 09:47:45 PST
Build Bot
Comment 2 2012-12-19 10:18:30 PST
Benjamin Poulain
Comment 3 2012-12-19 12:04:09 PST
Alexis Menard (darktears)
Comment 4 2013-01-03 15:54:03 PST
Comment on attachment 180202 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=180202&action=review Ok with comments. > Source/WebCore/ChangeLog:9 > + it was typically done with 2 memory allocation due to the string size in StringBuilder. Typo. allocation -> allocations. > Source/WebCore/ChangeLog:11 > + This patch change to code to use the String Concatenate opeartions in order Typo. Fix when landing.
Benjamin Poulain
Comment 5 2013-01-04 12:31:07 PST
Note You need to log in before you can comment on or make changes to this bug.