x/tools/gopls: ParseExported mode and go/analysis #35089
Closed
Comments
Change https://golang.org/cl/202623 mentions this issue: |
Maybe a wacky idea, but has anyone ever thought about "compressing" the type info? In my experience, a lot of the memory usage is from map overhead for all the AST overlay maps in |
Change https://golang.org/cl/208270 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
go/analysis
requires code from source in order to get facts for all dependencies.Our current strategy of parsing dependencies in exported mode deletes function bodies, thereby preventing
go/analysis
from getting correct facts for dependencies.Some possible solutions:
ParseExported
*types.Info
map/cc @ianthehat @dominikh @muirrn
The text was updated successfully, but these errors were encountered: