diff options
| author | Ian Lance Taylor <iant@golang.org> | 2020-10-06 16:31:00 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2020-10-07 16:33:31 +0000 |
| commit | 492258549717d4e73a22170c507fb26a731c4aba (patch) | |
| tree | c354a662d4eb633512a24b0fc4c2454bba070638 /src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go | |
| parent | ccf89bef43f3580526019e0804e91352e62047d5 (diff) | |
| download | go-492258549717d4e73a22170c507fb26a731c4aba.tar.xz | |
syscall: rewrite Windows makeCmdLine to use []byte
It's faster to append to a []byte and only convert to string at the
end then it is to build up a string by concatenating characters.
Fixes #41825
Change-Id: I45ddf77dcc62726c919f0533c95d483cee8ba366
Reviewed-on: https://go-review.googlesource.com/c/go/+/259978
Trust: Ian Lance Taylor <iant@golang.org>
Trust: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go')
0 files changed, 0 insertions, 0 deletions
