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

Issue 2533853005: Don't search if the driver cannot reference the element. (Closed)

Created:
4 years ago by scheglov
Modified:
4 years ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Don't search if the driver cannot reference the element. This is just a performance optimization to avoid analyzing the element file in a driver that does not use the file yet. We use library/unit URIs to search in index, so search in extra drivers would not produce extra results. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/d8ac1076d9ce831a0f1ba71847ae7824c77730a7

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M pkg/analyzer/lib/src/dart/analysis/search.dart View 1 chunk +8 lines, -2 lines 1 comment Download

Messages

Total messages: 7 (2 generated)
scheglov
4 years ago (2016-11-28 21:33:07 UTC) #1
Paul Berry
Can we add a unit test to validate this behavior? lgtm assuming a test is ...
4 years ago (2016-11-28 21:45:10 UTC) #2
Paul Berry
On 2016/11/28 21:45:10, Paul Berry wrote: > Can we add a unit test to validate ...
4 years ago (2016-11-28 21:47:05 UTC) #3
Brian Wilkerson
lgtm
4 years ago (2016-11-28 21:47:55 UTC) #4
scheglov
4 years ago (2016-11-28 21:51:41 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d8ac1076d9ce831a0f1ba71847ae7824c77730a7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698