Bug 82175

Summary: Web Inspector: replace indexOf('a text') === 0 with RegExp because it is much faster
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 81930    
Bug Blocks:    
Attachments:
Description Flags
Patch yurys: review+

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>