Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/cache: memoize dependent hash on analysisNode
Benchmarking demonstrated a nontrivial amount of time spent hashing dependency information in the computation of analysisNode.cacheKey. Memoize this hash to reduce cost. Change-Id: Ic123202fbdf00c9de7b3f697c40f593ef798cd42 Reviewed-on: https://go-review.googlesource.com/c/tools/+/617395 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alan Donovan <adonovan@google.com>
- Loading branch information