I think I got it. It looks like `go list` uses an internal cache to make its use really fast. Hopefully this package gets merged into the stdlib and we can take advantage of the cache directly!
On Monday, August 17, 2020 at 11:22:52 PM UTC+2 Matt Mueller wrote: > Hi folks, > > I was looking into where my packages.Load time was being spent and I > noticed that under the hood the packages library calls out to "go list" for > information. > > I'm just wondering if there's any specific reason for this? It seems like > fairly low-hanging fruit performance-wise to not spawn additional processes. > > Thanks! > Matt > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/44687ba3-af67-44d5-ad0a-6de6c59f88acn%40googlegroups.com.
