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

Issue 2003633002: Use FastUri instead of Uri in analyzer. (Closed)

Created:
4 years, 7 months ago by scheglov
Modified:
4 years, 7 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use FastUri instead of Uri in analyzer. This makes DDC compilation about 25% faster - from 1550 to 1200 ms. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/d78cf637b103e009e5030abd5704b85399cd329d

Patch Set 1 #

Total comments: 12

Patch Set 2 : Added test file. #

Total comments: 2

Patch Set 3 : Fixes for review comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+426 lines, -9 lines) Patch
M pkg/analyzer/lib/src/context/source.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/generated/utilities_dart.dart View 2 chunks +3 lines, -2 lines 0 comments Download
A pkg/analyzer/lib/src/util/fast_uri.dart View 1 2 1 chunk +253 lines, -0 lines 2 comments Download
M pkg/analyzer/test/generated/analysis_context_factory.dart View 1 chunk +6 lines, -4 lines 0 comments Download
A pkg/analyzer/test/src/util/fast_uri_test.dart View 1 2 1 chunk +159 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/util/test_all.dart View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
scheglov
4 years, 7 months ago (2016-05-20 15:42:03 UTC) #1
Paul Berry
https://codereview.chromium.org/2003633002/diff/1/pkg/analyzer/lib/src/util/fast_uri.dart File pkg/analyzer/lib/src/util/fast_uri.dart (right): https://codereview.chromium.org/2003633002/diff/1/pkg/analyzer/lib/src/util/fast_uri.dart#newcode18 pkg/analyzer/lib/src/util/fast_uri.dart:18: final List<int> _pathSegmentStarts; A doc comment would be helpful ...
4 years, 7 months ago (2016-05-20 16:18:12 UTC) #2
scheglov
PTAL https://codereview.chromium.org/2003633002/diff/1/pkg/analyzer/lib/src/util/fast_uri.dart File pkg/analyzer/lib/src/util/fast_uri.dart (right): https://codereview.chromium.org/2003633002/diff/1/pkg/analyzer/lib/src/util/fast_uri.dart#newcode18 pkg/analyzer/lib/src/util/fast_uri.dart:18: final List<int> _pathSegmentStarts; On 2016/05/20 16:18:11, Paul Berry ...
4 years, 7 months ago (2016-05-20 16:47:23 UTC) #3
Paul Berry
lgtm https://codereview.chromium.org/2003633002/diff/40001/pkg/analyzer/lib/src/util/fast_uri.dart File pkg/analyzer/lib/src/util/fast_uri.dart (right): https://codereview.chromium.org/2003633002/diff/40001/pkg/analyzer/lib/src/util/fast_uri.dart#newcode196 pkg/analyzer/lib/src/util/fast_uri.dart:196: * This method also performs memoization, so that ...
4 years, 7 months ago (2016-05-20 16:50:39 UTC) #4
Brian Wilkerson
lgtm https://codereview.chromium.org/2003633002/diff/40001/pkg/analyzer/lib/src/util/fast_uri.dart File pkg/analyzer/lib/src/util/fast_uri.dart (right): https://codereview.chromium.org/2003633002/diff/40001/pkg/analyzer/lib/src/util/fast_uri.dart#newcode113 pkg/analyzer/lib/src/util/fast_uri.dart:113: if (other is FastUri) { Won't this be ...
4 years, 7 months ago (2016-05-20 16:56:54 UTC) #5
scheglov
4 years, 7 months ago (2016-05-20 17:33:25 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
d78cf637b103e009e5030abd5704b85399cd329d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698