I have a Go project that is relatively small in terms of number of files (less than 30) but some Go files have auto-generated code that makes them relatively large - some between 3-4 MB. I counted the SLOC using
https://github.com/hhatto/gocloc and it reports about 61K lines of code and 40K lines of comments. When I am using `gopls` in my project on a pretty high-end workstation (Intel Xeon W-2135, 32 GB RAM, SSD hard drive), it is taking 4-5 seconds to give autocomplete suggestions in VSCode. Do you have any recommendations of ways to improve the auto complete time?
Of note, one of the subdirectories of the project is a package that uses CGO and it is wrapping about 440 C method calls. If it would help, I can move that subdirectory into its own package entirely and reference it via go.mod?
Please let me know if you have any suggestions or if I should post this in the `gopls` Github project.
Luke