[Webkit-unassigned] [Bug 136704] [Curl] Optimization; avoid reallocating string many times.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 10 09:09:37 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136704
--- Comment #4 from peavo at outlook.com 2014-09-10 09:09:40 PST ---
(In reply to comment #2)
> (From update of attachment 237889 [details])
> 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?
Yes, thank you, updated patch :)
--
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