This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
forked from nsf/gocode
-
Notifications
You must be signed in to change notification settings - Fork 87
suggest: implement caching #28
Comments
In the cache branch, I've prototyped caching for both of these. Suggestions within cmd/compile/internal/gc now take on the order of 30ms to 40ms with a warm cache. |
I've been using this for a few days now (with both go 1.10 and master), I didn't run into any issues and does seem as fast if not faster than nsf's. |
Any chance this could be merged to make it easier to pull from editors that use this gocode fork? |
Using -source without this branch is pretty much unusable on a big'ish repo. |
Closed
Let us know what support we can provide. |
#51 Implements a cache and solves this issue |
Cache branch was merged in #71. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In generating suggestions for cmd/compile/internal/ssa, the two big time overheads are:
If we could cache these results, then we'd be on par with nsf/gocode for suggestion performance.
The text was updated successfully, but these errors were encountered: