Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One weird trick to speed up your imports.
Setting the `build.FindOnly` flag when calling `context.Import` drastically speeds up parsing, especially when accessing remove file systems (e.g. nfs). Tests are still running and everything seems fine so far, hopefully nothing relies on anything other than `p.PkgObj`, so we should be fine.
- Loading branch information