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

Issue 864463002: Create string efficiently from Uint16List/View. (Closed)

Created:
5 years, 11 months ago by Lasse Reichstein Nielsen
Modified:
5 years, 10 months ago
Reviewers:
Florian Schneider, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Create string efficiently from Uint16List/View. R=asiva@google.com, fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=43235

Patch Set 1 #

Total comments: 25

Patch Set 2 : Address comments. #

Patch Set 3 : Add tests for external typed-data #

Unified diffs Side-by-side diffs Delta from patch set Stats (+431 lines, -62 lines) Patch
M runtime/lib/string.cc View 1 2 1 chunk +86 lines, -0 lines 0 comments Download
M runtime/lib/string_patch.dart View 1 2 5 chunks +116 lines, -57 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 1 chunk +96 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M sdk/lib/core/errors.dart View 1 2 1 chunk +11 lines, -4 lines 0 comments Download
M tests/corelib/string_fromcharcodes_test.dart View 1 2 2 chunks +81 lines, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
Lasse Reichstein Nielsen
5 years, 11 months ago (2015-01-20 10:10:47 UTC) #2
siva
The Cl description says "Create string efficiently from Uint16List/View" but there is no benchmark to ...
5 years, 11 months ago (2015-01-20 23:50:27 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/864463002/diff/1/runtime/lib/string.cc File runtime/lib/string.cc (right): https://codereview.chromium.org/864463002/diff/1/runtime/lib/string.cc#newcode279 runtime/lib/string.cc:279: ASSERT(length >= 0); ACK, I added the explicit check ...
5 years, 11 months ago (2015-01-22 07:16:33 UTC) #4
siva
lgtm https://codereview.chromium.org/864463002/diff/1/tests/corelib/string_fromcharcodes_test.dart File tests/corelib/string_fromcharcodes_test.dart (right): https://codereview.chromium.org/864463002/diff/1/tests/corelib/string_fromcharcodes_test.dart#newcode243 tests/corelib/string_fromcharcodes_test.dart:243: } On 2015/01/22 07:16:33, Lasse Reichstein Nielsen wrote: ...
5 years, 11 months ago (2015-01-23 01:06:34 UTC) #5
Lasse Reichstein Nielsen
Added test for external typed lists and views on same. Florian, PTAL.
5 years, 10 months ago (2015-01-28 11:38:12 UTC) #6
Florian Schneider
lgtm
5 years, 10 months ago (2015-01-28 12:00:06 UTC) #7
Lasse Reichstein Nielsen
5 years, 10 months ago (2015-01-28 12:44:54 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 43235 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698