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

Issue 212163005: Speed up toLowerCase, by manually inlining the upper-case part. (Closed)

Created:
6 years, 9 months ago by Anders Johnsen
Modified:
6 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, srdjan
Visibility:
Public.

Description

Speed up toLowerCase, by manually inlining the upper-case part. Some benchmarks show up to 25% faster toLowerCase. BUG= R=lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=34423

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -18 lines) Patch
M runtime/lib/string_patch.dart View 1 2 chunks +11 lines, -18 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Anders Johnsen
6 years, 9 months ago (2014-03-26 11:28:01 UTC) #1
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/212163005/diff/1/runtime/lib/string_patch.dart File runtime/lib/string_patch.dart (right): https://codereview.chromium.org/212163005/diff/1/runtime/lib/string_patch.dart#newcode827 runtime/lib/string_patch.dart:827: // Ranges: 0x41-0x5a ('A' - 'Z'), 0xc0-0xd6, 0xd8-0xde. ...
6 years, 9 months ago (2014-03-26 11:37:50 UTC) #2
Anders Johnsen
https://codereview.chromium.org/212163005/diff/1/runtime/lib/string_patch.dart File runtime/lib/string_patch.dart (right): https://codereview.chromium.org/212163005/diff/1/runtime/lib/string_patch.dart#newcode827 runtime/lib/string_patch.dart:827: // Ranges: 0x41-0x5a ('A' - 'Z'), 0xc0-0xd6, 0xd8-0xde. On ...
6 years, 9 months ago (2014-03-26 11:39:12 UTC) #3
Anders Johnsen
6 years, 9 months ago (2014-03-26 12:20:04 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r34423 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698