| Summary: | String.prototype.split() should create efficient substrings. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
| Component: | JavaScriptCore | Assignee: | Andreas Kling <kling> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | barraclough, ggaren, kling, oliver | ||||
| Priority: | P2 | Keywords: | InRadar, Performance | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Andreas Kling
2015-05-13 20:18:13 PDT
Created attachment 253088 [details]
Patch
Comment on attachment 253088 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253088&action=review r=me > Source/JavaScriptCore/runtime/StringPrototype.cpp:179 > +static inline JSString* jsSubstringWithSharing(ExecState* exec, JSValue originalValue, const String& string, unsigned offset, unsigned length) I would just call this jsSubstring. Committed r184346: <http://trac.webkit.org/changeset/184346> |