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

Issue 5121007: Make count-line-ends use StringSearch and only iterate over the source once. (Closed)

Created:
10 years, 1 month ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Make count-line-ends use StringSearch and only iterate over the source once.

Patch Set 1 #

Patch Set 2 : Now relative to tip of bleeding edge. #

Total comments: 2

Patch Set 3 : Address review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -29 lines) Patch
M src/handles.cc View 1 2 3 chunks +37 lines, -29 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein
10 years, 1 month ago (2010-11-18 10:19:58 UTC) #1
Vyacheslav Egorov (Chromium)
LGTM http://codereview.chromium.org/5121007/diff/3001/src/handles.cc File src/handles.cc (right): http://codereview.chromium.org/5121007/diff/3001/src/handles.cc#newcode537 src/handles.cc:537: if (!src->IsFlat()) FlattenString(src); src = FlattenGetString(src)? this will ...
10 years, 1 month ago (2010-11-18 10:36:08 UTC) #2
Lasse Reichstein
10 years, 1 month ago (2010-11-18 10:40:55 UTC) #3
http://codereview.chromium.org/5121007/diff/3001/src/handles.cc
File src/handles.cc (right):

http://codereview.chromium.org/5121007/diff/3001/src/handles.cc#newcode537
src/handles.cc:537: if (!src->IsFlat()) FlattenString(src);
On 2010/11/18 10:36:08, Vyacheslav Egorov wrote:
> src = FlattenGetString(src)?
> 
> this will allow to remove ConsString handling below.

Done.

Powered by Google App Engine
This is Rietveld 408576698