Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/callgraph/vta: optimize scc type initialization
During type propagation, initial types for an scc are two times stored to a map: once they are computed and the second time when they are saved to the type set of the scc. This CL ensures only one traversal is done. Change-Id: I7f6babae6a1130721c467e33da4f2d23462116d6 Reviewed-on: https://go-review.googlesource.com/c/tools/+/350160 Run-TryBot: Zvonimir Pavlinovic <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Tim King <[email protected]> Trust: Zvonimir Pavlinovic <[email protected]>
- Loading branch information