Bug 82175 - Web Inspector: replace indexOf('a text') === 0 with RegExp because it is much faster
Summary: Web Inspector: replace indexOf('a text') === 0 with RegExp because it is much...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Ilya Tikhonovsky
URL:
Keywords:
Depends on: 81930
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-26 01:43 PDT by Ilya Tikhonovsky
Modified: 2012-03-26 02:07 PDT (History)
10 users (show)

See Also:


Attachments
Patch (1.85 KB, patch)
2012-03-26 01:52 PDT, Ilya Tikhonovsky
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Tikhonovsky 2012-03-26 01:43:56 PDT
According to discussion in https://bugs.webkit.org/show_bug.cgi?id=81930
http://jsperf.com/careful-with-that-indexof-eugene
Comment 1 Ilya Tikhonovsky 2012-03-26 01:52:00 PDT
Created attachment 133751 [details]
Patch
Comment 2 Ilya Tikhonovsky 2012-03-26 02:07:58 PDT
Committed r112066: <http://trac.webkit.org/changeset/112066>