[Webkit-unassigned] [Bug 136704] [Curl] Optimization; avoid reallocating string many times.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 10 08:29:20 PDT 2014


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





--- Comment #2 from Alex Christensen <alex.christensen at flexsim.com>  2014-09-10 08:29:23 PST ---
(From update of attachment 237889)
View in context: https://bugs.webkit.org/attachment.cgi?id=237889&action=review

> Source/WebCore/platform/network/curl/CookieJarCurl.cpp:42
> +    token = WTF::move(strToken);

Couldn't this be token=String(cookieStart, cookie - cookieStart) to avoid two lines and a move?

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