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

Issue 42443002: Improve string library performance. String concat and indexOf. (Closed)

Created:
7 years, 2 months ago by srdjan
Modified:
7 years, 1 month ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Improve string library performance. String concat and indexOf. Rename String concatAll to concatRange. Optimize concatRange for OneByteStrings (avoids natives), optimize indexOf for one character onByteStrings. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=29472

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 12

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -15 lines) Patch
M runtime/lib/string.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/string_buffer_patch.dart View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/lib/string_patch.dart View 1 2 3 4 5 6 7 8 8 chunks +48 lines, -10 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
srdjan
7 years, 1 month ago (2013-10-25 21:42:30 UTC) #1
Ivan Posva
LGTMwC -Ivan https://codereview.chromium.org/42443002/diff/380001/runtime/lib/string_patch.dart File runtime/lib/string_patch.dart (right): https://codereview.chromium.org/42443002/diff/380001/runtime/lib/string_patch.dart#newcode87 runtime/lib/string_patch.dart:87: // TODO(5413632): Compare hash codes when both ...
7 years, 1 month ago (2013-10-28 23:35:09 UTC) #2
srdjan
https://codereview.chromium.org/42443002/diff/380001/runtime/lib/string_patch.dart File runtime/lib/string_patch.dart (right): https://codereview.chromium.org/42443002/diff/380001/runtime/lib/string_patch.dart#newcode87 runtime/lib/string_patch.dart:87: // TODO(5413632): Compare hash codes when both are present. ...
7 years, 1 month ago (2013-10-29 17:02:29 UTC) #3
srdjan
7 years, 1 month ago (2013-10-29 18:18:48 UTC) #4
Message was sent while issue was closed.
Committed patchset #9 manually as r29472 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698