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

Issue 1420303011: dart2js Uri patch: avoid unnecessary code-unit to String conversions (Closed)

Created:
5 years, 1 month ago by sra1
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js Uri patch: avoid unnecessary code-unit to String conversions results in: H.Primitives_stringFromCharCode(C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte & 15) --> "0123456789ABCDEF"[$byte & 15] dart2js does not know how to do this yet. R=lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/b3a4cc337c0f90baec31e518af0dfb78b2fbf1d8

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M sdk/lib/_internal/js_runtime/lib/core_patch.dart View 1 chunk +4 lines, -4 lines 2 comments Download

Messages

Total messages: 5 (1 generated)
sra1
5 years, 1 month ago (2015-11-05 20:22:05 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/1420303011/diff/1/sdk/lib/_internal/js_runtime/lib/core_patch.dart File sdk/lib/_internal/js_runtime/lib/core_patch.dart (right): https://codereview.chromium.org/1420303011/diff/1/sdk/lib/_internal/js_runtime/lib/core_patch.dart#newcode566 sdk/lib/_internal/js_runtime/lib/core_patch.dart:566: result.write(hexDigits[byte & 0x0f]); I guess it's OK, but ...
5 years, 1 month ago (2015-11-05 21:48:26 UTC) #3
sra1
https://codereview.chromium.org/1420303011/diff/1/sdk/lib/_internal/js_runtime/lib/core_patch.dart File sdk/lib/_internal/js_runtime/lib/core_patch.dart (right): https://codereview.chromium.org/1420303011/diff/1/sdk/lib/_internal/js_runtime/lib/core_patch.dart#newcode566 sdk/lib/_internal/js_runtime/lib/core_patch.dart:566: result.write(hexDigits[byte & 0x0f]); On 2015/11/05 21:48:26, Lasse Reichstein Nielsen ...
5 years, 1 month ago (2015-11-06 01:55:10 UTC) #4
sra1
5 years, 1 month ago (2015-11-06 01:55:59 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
b3a4cc337c0f90baec31e518af0dfb78b2fbf1d8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698