commit | 97de5656fd0abb4da8799a4c7235e596f1ae41e3 | [log] [tgz] |
---|---|---|
author | linguohua <lghchinaidea@gmail.com> | Fri Jun 14 22:42:14 2019 +0000 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Jun 17 16:22:25 2019 +0000 |
tree | 6d6beb312cf3556b2df1b76289a2ea906cda0de4 | |
parent | 5aca471b1d59ca42d39ca6419e64061391b9a6ad [diff] |
internal/lsp/diff: remove redundant memory allocate and copy operations in function 'shortestEditSequence'. These redundant operations can cause more memory and cpu consumption. Change-Id: I54e0e23a8d1079c7991f55c897c441566c5fb2d8 GitHub-Last-Rev: 13162aa1e88ff272738c6a6675010edd2140c8a4 GitHub-Pull-Request: golang/tools#120 Reviewed-on: https://go-review.googlesource.com/c/tools/+/182478 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.