Chromium Code Reviews
DescriptionAdd and use AnalysisCache.sources getter.
This is not ideal, we might still want to start managing 'containingLibraries' at some point.
But it speeds up switching between file 10x - DartCompletionCache request of all top-level elements takes now about 170 ms, vs. 1800 ms before.
Also, we need "sources" in many places of AnalysisContext.
R=brianwilkerson@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/deddddc9e51cc6d04b0a6691f34f7d480d2cb8c9
Patch Set 1 #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||