Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/lsp/cache: fast-path for type-checking active packages
Partially revert CL 512636, putting back the fast path to fetch the active package. This fixes a "regression" in certain fast benchmarks, such as Definition, Hover, or References in a local package. The numbers are still small either way, but may matter in very large repos. Change-Id: Id850eaa7a2599d9fb6ad042e762b59b3d5220cf1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/513101 Run-TryBot: Robert Findley <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
- Loading branch information