tools/go/loader
Alan Donovan 9c9660e35a go/loader: use concurrency to reduce I/O latency and perform typechecking in parallel.
See loader.go comments for orientation.

This is what happens when you use start using Dmitry's new trace tool. :)

Tests:
- added test of cycles
- load/parse/typecheck of 'godoc' is ~2.5x faster
- race detector finds no errors.

Change-Id: Icb5712c7825002342baf471b216252cecd9149d6
Reviewed-on: https://go-review.googlesource.com/1582
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-01-14 16:10:20 +00:00
..
testdata go.tools: rename packages. 2014-01-16 09:33:58 -05:00
cgo.go go.tools/*: replace $GOROOT/src/pkg with $GOROOT/src where appropriate. 2014-09-08 13:24:38 -04:00
loader.go go/loader: use concurrency to reduce I/O latency and perform typechecking in parallel. 2015-01-14 16:10:20 +00:00
loader_test.go go/loader: use concurrency to reduce I/O latency and perform typechecking in parallel. 2015-01-14 16:10:20 +00:00
source_test.go astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00
stdlib_test.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
util.go go/loader: use concurrency to reduce I/O latency and perform typechecking in parallel. 2015-01-14 16:10:20 +00:00