mirror of
https://github.com/golang/go
synced 2024-10-01 01:28:32 -06:00
69e0dcfa11
Instead of calling packages.Load on every character change, we reparse the import declarations of the file and determine if they have changed. We also introduce a metadata cache that caches the import graph. This is used in type-checking and only updated on calls to packages.Load. Change-Id: I7cb384aba77ef3c1565d3b0db58e6c754d5fed15 Reviewed-on: https://go-review.googlesource.com/c/tools/+/165137 Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
check.go | ||
file.go | ||
view.go |