aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary/binary.go
diff options
context:
space:
mode:
authorNick Ripley <nick.ripley@datadoghq.com>2023-11-19 20:01:57 -0500
committerGopher Robot <gobot@golang.org>2024-05-13 16:41:50 +0000
commitb5bfb5a3ce7c6d993dab40d9b92c06b873ecd404 (patch)
treeaf3cd8e4616578770aee5db27b422c8d6d985c18 /src/encoding/binary/binary.go
parentf43d9c40f382def04442898d7581402759bff36a (diff)
downloadgo-b5bfb5a3ce7c6d993dab40d9b92c06b873ecd404.tar.xz
runtime: refactor fpunwindExpand to use provided buffer
fpunwindExpand currently allocates a new slice to hold the expanded call stack. In each place it's used, the resulting slice won't be needed immediately afterward, so the allocation is wasteful. Refactor fpunwindExpand to instead expand the call stack into a provided buffer. Change-Id: I05b26c191a8f76404c21ccbe3bd422325540425b Reviewed-on: https://go-review.googlesource.com/c/go/+/543715 Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/encoding/binary/binary.go')
0 files changed, 0 insertions, 0 deletions