Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Issue 650036: Land patch by Oleg Eterevsky (oleg@chromium.org). (Closed)

Created:
10 years, 10 months ago by Vitaly Repeshko
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Land patch by Oleg Eterevsky (oleg@chromium.org). Original review: http://codereview.chromium.org/646010/show Change the implementation of lastIndexOf method of String. Convert the strings in question to Vector<char> or Vector<uc16> and execute simple search algorithm on them. The difference in speed on 500k character string is about 10x. TBR=ager@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=3922

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -20 lines) Patch
M src/runtime.cc View 3 chunks +76 lines, -20 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Vitaly Repeshko
10 years, 10 months ago (2010-02-19 18:22:46 UTC) #1
Mads Ager (chromium)
10 years, 10 months ago (2010-02-22 11:30:04 UTC) #2
LGTM

http://codereview.chromium.org/650036/diff/1/2
File src/runtime.cc (right):

http://codereview.chromium.org/650036/diff/1/2#newcode2506
src/runtime.cc:2506: HandleScope scope;  // create a new handle scope
Comment seems redundant here.

Powered by Google App Engine
This is Rietveld 408576698