Summary: | Eliminate two large sources of temporary StringImpl objects. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | JavaScriptCore | Assignee: | Andreas Kling <kling> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, keith_miller, mark.lam, msaboff, saam | ||||
Priority: | P2 | Keywords: | Performance | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Andreas Kling
2016-06-02 19:36:35 PDT
Created attachment 280408 [details]
Proposed patch
Comment on attachment 280408 [details] Proposed patch Clearing flags on attachment: 280408 Committed r201645: <http://trac.webkit.org/changeset/201645> All reviewed patches have been landed. Closing bug. Comment on attachment 280408 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=280408&action=review > Source/JavaScriptCore/ChangeLog:15 > + (JSC::makeIdentifier): Add an overload for string literals so we can stop creating a temporary > + String just for passing to Identifier::fromString(). Why does the const char* version have to create a temporary String? |