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

Issue 11418095: Use the code point iterator in equality comparisons to C strings. (Closed)

Created:
8 years, 1 month ago by cshapiro
Modified:
8 years, 1 month ago
Reviewers:
siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use the code point iterator in equality comparisons to C strings. Committed: https://code.google.com/p/dart/source/detail?r=15185

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comments #

Patch Set 3 : add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -13 lines) Patch
M runtime/vm/object.h View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 1 chunk +12 lines, -12 lines 0 comments Download
M runtime/vm/object_test.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
cshapiro
I restored the "str" argument name. I cannot remember why I changed that to utf8_array ...
8 years, 1 month ago (2012-11-20 19:05:24 UTC) #1
siva
https://codereview.chromium.org/11418095/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/11418095/diff/1/runtime/vm/object.cc#newcode10038 runtime/vm/object.cc:10038: bool String::Equals(const char* str) const { yes cstr would ...
8 years, 1 month ago (2012-11-20 19:47:32 UTC) #2
cshapiro
https://codereview.chromium.org/11418095/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/11418095/diff/1/runtime/vm/object.cc#newcode10038 runtime/vm/object.cc:10038: bool String::Equals(const char* str) const { Done. All of ...
8 years, 1 month ago (2012-11-20 23:41:12 UTC) #3
siva
8 years, 1 month ago (2012-11-20 23:46:08 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698