Bug 83738 - Improve replaceUsingStringSearch() for case of a single character searchValue
Summary: Improve replaceUsingStringSearch() for case of a single character searchValue
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 18:46 PDT by Benjamin Poulain
Modified: 2012-04-12 19:30 PDT (History)
2 users (show)

See Also:


Attachments
Patch (4.72 KB, patch)
2012-04-11 19:17 PDT, Benjamin Poulain
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Poulain 2012-04-11 18:46:12 PDT
Like for String.split(), we can take shortcuts.
Comment 1 Benjamin Poulain 2012-04-11 19:17:56 PDT
Created attachment 136808 [details]
Patch
Comment 2 Geoffrey Garen 2012-04-12 14:16:57 PDT
Comment on attachment 136808 [details]
Patch

r=me
Comment 3 Benjamin Poulain 2012-04-12 19:30:15 PDT
Committed r114072: <http://trac.webkit.org/changeset/114072>