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

Issue 2375383004: Don't use actual dependency walker in pub summaries. (Closed)

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

Description

Don't use actual dependency walker in pub summaries. We already pre-check transitive dependencies, so we know which nodes can be linked, and can use just a single link() invocation. The code is slightly worse, because I stuffed several more operations into getLinkedBundles(), but either this, or passing several parameters around :-( R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/36d737008f6ce7d9d9d0dcf5bb58fe48e5633a72

Patch Set 1 #

Patch Set 2 : Extract _ContextLinker for computing linked bundles of a context. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -270 lines) Patch
M pkg/analyzer/lib/src/summary/pub_summary.dart View 1 8 chunks +272 lines, -270 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 2 months ago (2016-09-29 16:27:20 UTC) #1
Brian Wilkerson
> The code is slightly worse, because I stuffed several more operations into getLinkedBundles(), but ...
4 years, 2 months ago (2016-09-29 16:34:22 UTC) #2
scheglov
4 years, 2 months ago (2016-09-29 17:30:41 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
36d737008f6ce7d9d9d0dcf5bb58fe48e5633a72 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698