Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gosym: preallocate inlined call slice
LineTable.InlineTree allocates a slice whose length is known in advance. Preallocate it to avoid reallocations. Change-Id: I1939f6d4e956ccb5d2b68e10695622784d8ced38 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/581135 Run-TryBot: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Joedian Reid <joedian@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Quim Muntal <quimmuntal@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
- Loading branch information