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

Issue 860273002: Recognize and special case String.fromCharCodes for Uint8List in JavaScript. (Closed)

Created:
5 years, 11 months ago by sra1
Modified:
5 years, 11 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Recognize and special case String.fromCharCodes for Uint8List in JavaScript. Speeds up UTF8 decoding, boosting JsonUtf8RoundTrip 4x. This should also improve binary protobuf parsing of strings. R=lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=43055

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -28 lines) Patch
M sdk/lib/_internal/compiler/js_lib/core_patch.dart View 1 3 chunks +35 lines, -17 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_helper.dart View 1 3 chunks +29 lines, -11 lines 0 comments Download
M tests/corelib/string_fromcharcodes_test.dart View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
sra1
5 years, 11 months ago (2015-01-21 06:19:14 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/860273002/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart File sdk/lib/_internal/compiler/js_lib/core_patch.dart (right): https://codereview.chromium.org/860273002/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart#newcode17 sdk/lib/_internal/compiler/js_lib/core_patch.dart:17: import 'dart:typed_data' show Uint8List; Is this import used? ...
5 years, 11 months ago (2015-01-21 09:36:38 UTC) #3
sra1
https://codereview.chromium.org/860273002/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart File sdk/lib/_internal/compiler/js_lib/core_patch.dart (right): https://codereview.chromium.org/860273002/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart#newcode17 sdk/lib/_internal/compiler/js_lib/core_patch.dart:17: import 'dart:typed_data' show Uint8List; On 2015/01/21 09:36:38, Lasse Reichstein ...
5 years, 11 months ago (2015-01-21 20:27:06 UTC) #4
sra1
5 years, 11 months ago (2015-01-21 22:50:08 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 43055 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698