RESOLVED FIXED 117202
Avoid multiple copies of inline script & style strings
https://bugs.webkit.org/show_bug.cgi?id=117202
Summary Avoid multiple copies of inline script & style strings
Arunprasad Rajkumar
Reported 2013-06-04 08:56:52 PDT
https://chromiumcodereview.appspot.com/16005007 Above fix avoids the multiple copies of contents inside inline <script> & <style>
Attachments
Patch (4.94 KB, patch)
2013-06-05 12:40 PDT, Arunprasad Rajkumar
no flags
Alexey Proskuryakov
Comment 1 2013-06-05 10:58:24 PDT
Sounds like a really valuable optimization.
Arunprasad Rajkumar
Comment 2 2013-06-05 12:40:13 PDT
Brent Fulgham
Comment 3 2013-06-05 13:59:11 PDT
Seems like a good change. ap, any reason you did not r+ this?
Darin Adler
Comment 4 2013-06-05 13:59:43 PDT
Comment on attachment 203874 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=203874&action=review > Source/WebCore/html/parser/HTMLConstructionSite.cpp:500 > + unsigned lengthLimit = shouldUseLengthLimit(task.parent.get()) ? Text::defaultLengthLimit : std::numeric_limits<unsigned>::max(); Too bad we need to compute this limit ahead of time. Sure would be nice to only do the work when we actually get close enough to hitting a limit.
WebKit Commit Bot
Comment 5 2013-06-05 14:20:38 PDT
Comment on attachment 203874 [details] Patch Clearing flags on attachment: 203874 Committed r151236: <http://trac.webkit.org/changeset/151236>
WebKit Commit Bot
Comment 6 2013-06-05 14:20:41 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.