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

Issue 2696803003: Avoiding creating strings for canonicalization (Closed)

Created:
3 years, 10 months ago by Dmitry Olshansky
Modified:
3 years, 10 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Avoiding creating strings for canonicalization Do a hash table for tripples: (list of bytes, start, end) --> canonicalized string R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/58ca47d58ae846dfc9a71d59a03ecafb5cd31537

Patch Set 1 #

Patch Set 2 : Fasta: avoiding allocating strings for canonicalization #

Patch Set 3 : Fasta: avoiding allocating strings for canonicalization #

Total comments: 22

Patch Set 4 : Address review comments #

Patch Set 5 : Address review comments #

Total comments: 2

Patch Set 6 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -17 lines) Patch
M pkg/compiler/lib/src/compiler.dart View 1 chunk +1 line, -1 line 0 comments Download
A pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart View 1 2 3 4 5 1 chunk +118 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/scanner/token.dart View 1 2 3 4 5 5 chunks +11 lines, -16 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Dmitry Olshansky
3 years, 10 months ago (2017-02-14 13:21:41 UTC) #2
ahe
lgtm Thank you! https://codereview.chromium.org/2696803003/diff/40001/pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart File pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart (right): https://codereview.chromium.org/2696803003/diff/40001/pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart#newcode1 pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart:1: // Copyright (c) 2012, the Dart ...
3 years, 10 months ago (2017-02-14 13:52:46 UTC) #3
Dmitry Olshansky
https://codereview.chromium.org/2696803003/diff/40001/pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart File pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart (right): https://codereview.chromium.org/2696803003/diff/40001/pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart#newcode1 pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart:1: // Copyright (c) 2012, the Dart project authors. Please ...
3 years, 10 months ago (2017-02-14 14:31:09 UTC) #4
ahe
lgtm https://codereview.chromium.org/2696803003/diff/80001/pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart File pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart (right): https://codereview.chromium.org/2696803003/diff/80001/pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart#newcode21 pkg/front_end/lib/src/fasta/scanner/canonicalizer.dart:21: * Using tripples avoids allocating string slices before ...
3 years, 10 months ago (2017-02-14 14:35:04 UTC) #5
Dmitry Olshansky
3 years, 10 months ago (2017-02-14 14:44:04 UTC) #6
Dmitry Olshansky
3 years, 10 months ago (2017-02-14 14:44:46 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
58ca47d58ae846dfc9a71d59a03ecafb5cd31537 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698