| Summary: | Give JSString a StringView getter and start using it. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
| Component: | JavaScriptCore | Assignee: | Andreas Kling <kling> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | benjamin, commit-queue, darin, ggaren | ||||
| Priority: | P2 | Keywords: | Performance | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Andreas Kling
2015-05-18 10:17:06 PDT
Created attachment 253330 [details]
Patch
Comment on attachment 253330 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253330&action=review > Source/JavaScriptCore/runtime/JSString.h:712 > + return StringView(m_value); Surprised this requires an explicit conversion. Would just returning m_value work? > Source/JavaScriptCore/runtime/JSString.h:719 > + return StringView(m_value); Surprised this requires an explicit conversion. Would just returning m_value work? Comment on attachment 253330 [details] Patch Clearing flags on attachment: 253330 Committed r184575: <http://trac.webkit.org/changeset/184575> All reviewed patches have been landed. Closing bug. |