[Webkit-unassigned] [Bug 67079] Replace usages of Vector<UChar> with existing StringBuilder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 29 01:24:30 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=67079


Xianzhu Wang <wangxianzhu at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105473|                            |review?
               Flag|                            |




--- Comment #1 from Xianzhu Wang <wangxianzhu at chromium.org>  2011-08-29 01:24:30 PST ---
Created an attachment (id=105473)
 --> (https://bugs.webkit.org/attachment.cgi?id=105473&action=review)
patch

The patch is big, but most of the modifications are straight-forward.
StringBuilder is slightly modified:
1) Added StringBuilder::characters() because originally Vector<UChar>::data() was widely used;
2) Added a minimum size for buffer to match Vector (though further performance investigations/optimizations should be done in https://bugs.webkit.org/show_bug.cgi?id=67084).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list