mirror of https://github.com/golang/go.git
For workspace symbol requests we use various workarounds to optimize matches for Go symbol paths (specifically, to increase relevance toward the right hand side of a symbol path). These workarounds have a significant impact on performance. The existing fuzzy matcher could also be optimized, but is hard to modify safely. As an experiment, add a new simple-but-fast fuzzy matcher to use as a point of reference. Change-Id: Iacaf149dfaf75f25e13909145f9508c7eaedf1a2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/338689 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Peter Weinberger <pjw@google.com> |
||
|---|---|---|
| .. | ||
| input.go | ||
| input_test.go | ||
| matcher.go | ||
| matcher_test.go | ||
| symbol.go | ||
| symbol_test.go | ||