tools/go/packages
Ian Cottrell 641913b2bd go/packages: reduce the number of export data files loaded
In ModeTypes, we only need the roots, in ModeSyntax we need the direct
dependancies.
We now do exactly what we need rather than the entire set of transitive
dependancies.
Without this change tools operating on source of a deep dependancy tree are far
to slow.

Change-Id: I3ddbe660709184758ad33ab7cdea860244433ce6
Reviewed-on: https://go-review.googlesource.com/129355
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
2018-08-17 16:41:42 +00:00
..
gopackages go/packages: use Package as the raw form 2018-08-10 14:45:52 +00:00
doc.go all: fix typos in comments 2018-08-10 18:15:57 +00:00
external.go go/packages: use Package as the raw form 2018-08-10 14:45:52 +00:00
golist.go go/packages: prefer import map to identity imports 2018-08-10 19:35:07 +00:00
golist_fallback.go go/packages: prefer import map to identity imports 2018-08-10 19:35:07 +00:00
packages.go go/packages: reduce the number of export data files loaded 2018-08-17 16:41:42 +00:00
packages110_test.go go/packages: switch fallback implementation to use go list 2018-07-26 16:53:35 +00:00
packages_test.go go/packages: reduce the number of export data files loaded 2018-08-17 16:41:42 +00:00
stdlib_test.go go/packages: use Package as the raw form 2018-08-10 14:45:52 +00:00