[Webkit-unassigned] [Bug 131704] Simple ES6 feature:String prototype additions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 19 20:27:12 PDT 2014


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




--- Comment #18 from Darin Adler <darin at apple.com>  2014-08-19 20:27:19 PST ---
(In reply to comment #12)
> Forget about this comment, I can substring 'str' by 'pos' and use the methods of WTF::String.

That’s not a good strategy. Calling String::substring allocates a new string every time, so it’s really slow. We need to either add additional overloads or arguments to String member functions to let us deal with substrings without computing them, or use StringView::substring and StringView member functions instead.

-- 
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