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

Issue 14862006: Improve performance of String.fromCharCodes by implementing it in Dart. Add tow internal natives to… (Closed)

Created:
7 years, 7 months ago by srdjan
Modified:
7 years, 7 months ago
Reviewers:
siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Improve performance of String.fromCharCodes by implementing it in Dart. Add tow internal natives to Dart in order to be able to allocate and fill a String. Next step is to implement String.concatAll in Dart as well and to inline String._setAt operation (currently intrinsified). R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=22399

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -32 lines) Patch
M runtime/lib/string.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M runtime/lib/string_patch.dart View 1 2 2 chunks +32 lines, -6 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 2 5 chunks +49 lines, -13 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 2 6 chunks +49 lines, -13 lines 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
srdjan
7 years, 7 months ago (2013-05-03 22:07:29 UTC) #1
siva
LGTM with couple of comments. https://codereview.chromium.org/14862006/diff/1/runtime/vm/intrinsifier_x64.cc File runtime/vm/intrinsifier_x64.cc (right): https://codereview.chromium.org/14862006/diff/1/runtime/vm/intrinsifier_x64.cc#newcode1498 runtime/vm/intrinsifier_x64.cc:1498: __ movl(RDI, length_reg); movq ...
7 years, 7 months ago (2013-05-03 23:05:01 UTC) #2
srdjan
https://codereview.chromium.org/14862006/diff/1/runtime/vm/intrinsifier_x64.cc File runtime/vm/intrinsifier_x64.cc (right): https://codereview.chromium.org/14862006/diff/1/runtime/vm/intrinsifier_x64.cc#newcode1498 runtime/vm/intrinsifier_x64.cc:1498: __ movl(RDI, length_reg); On 2013/05/03 23:05:01, siva wrote: > ...
7 years, 7 months ago (2013-05-03 23:36:37 UTC) #3
srdjan
7 years, 7 months ago (2013-05-03 23:48:16 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as r22399 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698