You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2024. It is now read-only.
[elastic] Cache the results of 'invokeGo()' call (#76)
'invokeGo' is used to get the import outline of the specified folder(package),
so there are duplications that will slow down the go langserver.
Since go langserver serves several repos at the same time, use LRU cache
in case of blow up the memory. 'determineRootDirsCached' serves single view,
i.e. single workspace folder, 'golistDriverLRUCached' serves single
subfolder, i.e. package. Given that we will skip 'vendor' folder, for now,
the number of the repos are simultaneously indexing is very low, that's
why set the 'determineRootDirsCached' entry number to 16.
Future plan:
skip the 'vendor' file
download the deps during the initialize request
eliminate the 'invokeGo' call
find a better approach to handle the 'vendor' folder
0 commit comments