aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google/pprof/internal/plugin
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-10-06 16:31:00 -0700
committerIan Lance Taylor <iant@golang.org>2020-10-07 16:33:31 +0000
commit492258549717d4e73a22170c507fb26a731c4aba (patch)
treec354a662d4eb633512a24b0fc4c2454bba070638 /src/cmd/vendor/github.com/google/pprof/internal/plugin
parentccf89bef43f3580526019e0804e91352e62047d5 (diff)
downloadgo-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')
0 files changed, 0 insertions, 0 deletions