RESOLVED FIXED 119319
Don't use Vector<UChar> to build strings
https://bugs.webkit.org/show_bug.cgi?id=119319
Summary Don't use Vector<UChar> to build strings
Ryosuke Niwa
Reported 2013-07-30 21:38:40 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/9fda929af533c3c1aa3961c4818ea30ed7499021 This CL removes a bunch of code sites that were using Vector<UChar> to construct strings. That used to be a good way to construct strings, but in the modern world, we have much better alternatives in the form of StringBuffer and StringBuilder. (You should use StringBuffer if you know exactly how much memory you need and you should use StringBuilder if you require a variable amount of memory.) This CL removes more clients of the StringImpl pointer. There are still a few left, which require more study.
Attachments
Ryosuke Niwa
Comment 1 2022-08-21 19:08:58 PDT
EWS
Comment 2 2022-12-19 07:19:17 PST
Committed 258081@main (6b1eb391bf3d): <https://commits.webkit.org/258081@main> Reviewed commits have been landed. Closing PR #7827 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-12-19 07:20:17 PST
Note You need to log in before you can comment on or make changes to this bug.