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

Issue 2473443005: Don't compute library cycle when the library is resynthesized. (Closed)

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

Description

Don't compute library cycle when the library is resynthesized. As I understand, we infer all types during linking. So, there is no reason to re-infer types. And AFAIK ensuring type inference is the only client of library cycle information. With the new analysis context we link and have types for all libraries, including the one we are resolving unit for. Removing library cycle computation makes analysis almost 40% faster. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/f0a9bb0c9fec17a77dce012abe6d74bd3ff36937

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M pkg/analyzer/lib/src/task/dart.dart View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
scheglov
4 years, 1 month ago (2016-11-02 18:40:07 UTC) #1
Brian Wilkerson
lgtm
4 years, 1 month ago (2016-11-02 18:44:48 UTC) #2
Paul Berry
lgtm
4 years, 1 month ago (2016-11-02 20:18:13 UTC) #3
scheglov
4 years, 1 month ago (2016-11-02 20:41:09 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f0a9bb0c9fec17a77dce012abe6d74bd3ff36937 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698