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

Issue 25087006: Improve performance of string buffer by modifying concatAll native to allow growable array and an i… (Closed)

Created:
7 years, 2 months ago by srdjan
Modified:
7 years, 2 months ago
Reviewers:
kasperl, sra1, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, kasperl
Visibility:
Public.

Description

Improve performance of string buffer by modifying concatAll native to allow growable array and an interval. Eliminate unnecessary check for String elements in release mode. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=28102

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 16

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -49 lines) Patch
M runtime/lib/string.cc View 1 2 3 4 1 chunk +35 lines, -10 lines 0 comments Download
M runtime/lib/string_buffer_patch.dart View 1 2 3 4 4 chunks +9 lines, -21 lines 0 comments Download
M runtime/lib/string_patch.dart View 1 2 3 4 4 chunks +7 lines, -6 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 4 chunks +29 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
srdjan
7 years, 2 months ago (2013-09-30 15:53:47 UTC) #1
kasperl
StringBuffer changes STV! https://codereview.chromium.org/25087006/diff/14001/runtime/lib/string_buffer_patch.dart File runtime/lib/string_buffer_patch.dart (right): https://codereview.chromium.org/25087006/diff/14001/runtime/lib/string_buffer_patch.dart#newcode103 runtime/lib/string_buffer_patch.dart:103: if (_partsCodeUnits == 0) return ""; ...
7 years, 2 months ago (2013-09-30 16:37:26 UTC) #2
srdjan
https://codereview.chromium.org/25087006/diff/14001/runtime/lib/string_buffer_patch.dart File runtime/lib/string_buffer_patch.dart (right): https://codereview.chromium.org/25087006/diff/14001/runtime/lib/string_buffer_patch.dart#newcode103 runtime/lib/string_buffer_patch.dart:103: if (_partsCodeUnits == 0) return ""; On 2013/09/30 16:37:27, ...
7 years, 2 months ago (2013-09-30 16:46:27 UTC) #3
sra1
DBC https://codereview.chromium.org/25087006/diff/22001/runtime/lib/string.cc File runtime/lib/string.cc (right): https://codereview.chromium.org/25087006/diff/22001/runtime/lib/string.cc#newcode234 runtime/lib/string.cc:234: Exceptions::ThrowByType(Exceptions::kArgument, args); This is such a common sequence ...
7 years, 2 months ago (2013-09-30 17:54:43 UTC) #4
siva
lgtm https://codereview.chromium.org/25087006/diff/22001/runtime/lib/string.cc File runtime/lib/string.cc (right): https://codereview.chromium.org/25087006/diff/22001/runtime/lib/string.cc#newcode239 runtime/lib/string.cc:239: g ^= argument.raw(); 'g' seems like a cryptic ...
7 years, 2 months ago (2013-09-30 18:27:21 UTC) #5
srdjan
https://codereview.chromium.org/25087006/diff/22001/runtime/lib/string.cc File runtime/lib/string.cc (right): https://codereview.chromium.org/25087006/diff/22001/runtime/lib/string.cc#newcode234 runtime/lib/string.cc:234: Exceptions::ThrowByType(Exceptions::kArgument, args); On 2013/09/30 17:54:43, sra1 wrote: > This ...
7 years, 2 months ago (2013-10-01 14:57:44 UTC) #6
srdjan
7 years, 2 months ago (2013-10-01 16:49:02 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r28102 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698