]> Cypherpunks repositories - gostls13.git/commit
cmd/api: speed up API check by 2x, caching parser.ParseFile calls
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 19 Nov 2012 21:50:20 +0000 (13:50 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 19 Nov 2012 21:50:20 +0000 (13:50 -0800)
commitaeca7a7cd21cb512ac19fa2f8d0555fb13bdd8f3
treea1f8748673d278a751c9d043590985ed10f30787
parentc00bda13528c47b604595b17d76cf4b89425f632
cmd/api: speed up API check by 2x, caching parser.ParseFile calls

Saves 5 seconds on my machine. If Issue 4380 is fixed this
clone can be removed.

Update #4380

R=golang-dev, remyoudompheng, minux.ma, gri
CC=golang-dev
https://golang.org/cl/6845058
src/cmd/api/clone.go [new file with mode: 0644]
src/cmd/api/goapi.go
src/cmd/api/testdata/src/pkg/p1/p1.go