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

Issue 1797343002: Don't attempt to record DynamicElementImpl references. (Closed)

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

Description

Don't attempt to record DynamicElementImpl references. This has a very slight index performance improvement (about 1%) because now we don't have to throw StateError when we cannot find the enclosing CompilationUnitElement for 'dynamic'. Depends on the code base of course. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/e66dfae9752e24bef43007ae4bbbcc4f51ac1be9

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -7 lines) Patch
M pkg/analyzer/lib/src/summary/index_unit.dart View 1 chunk +12 lines, -7 lines 0 comments Download
M pkg/analyzer/test/src/summary/index_unit_test.dart View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 9 months ago (2016-03-15 16:24:06 UTC) #1
Brian Wilkerson
LGTM
4 years, 9 months ago (2016-03-15 17:58:44 UTC) #2
scheglov
4 years, 9 months ago (2016-03-15 18:01:45 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
e66dfae9752e24bef43007ae4bbbcc4f51ac1be9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698