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

Issue 11428106: Add StringBufferStream (Closed)

Created:
8 years ago by drcarney
Modified:
8 years ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Add StringBufferStream add a class StringBufferStream which will replace StringInputBuffer and SafeStringInputBuffer and requires no ascii/two byte encoding scheme R=yangguo@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=13147

Patch Set 1 #

Patch Set 2 : Right traversal optimization #

Total comments: 22

Patch Set 3 : Style update #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -1 line) Patch
M src/objects.h View 1 2 2 chunks +80 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +125 lines, -0 lines 1 comment Download
M src/objects-inl.h View 1 2 2 chunks +209 lines, -0 lines 0 comments Download
M test/cctest/test-strings.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
Mostly style changes, aside from the GC issue we talked about offline. https://codereview.chromium.org/11428106/diff/2001/src/objects-inl.h File src/objects-inl.h ...
8 years ago (2012-12-04 14:49:11 UTC) #1
Yang
8 years ago (2012-12-06 10:18:47 UTC) #2
LGTM with one nit.

https://codereview.chromium.org/11428106/diff/9001/src/objects.cc
File src/objects.cc (right):

https://codereview.chromium.org/11428106/diff/9001/src/objects.cc#newcode7101
src/objects.cc:7101: bool haveNotReadRight = trace_ & MaskForDepth(depth_ - 1);
I'm still somewhat confused about this. Shouldn't it be called
hasAlreadyReadRight if the bit is set? We only continue with going right if we
haven't gone right yet.

Powered by Google App Engine
This is Rietveld 408576698