aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2018-12-01 16:28:27 +0000
committerDaniel Martí <mvdan@mvdan.cc>2018-12-01 17:31:02 +0000
commitb397248168fcb26400ac6afb88bf6080497a819e (patch)
tree2e6c5e2740c77e76e330da4d576280396482eae8 /src/database/sql/sql.go
parent624e197c71b673f0b3ebc57f774536131b4f0f26 (diff)
downloadgo-b397248168fcb26400ac6afb88bf6080497a819e.tar.xz
cmd/compile: add Buffer.Grow to TestIntendedInlining
golang.org/cl/151977 slightly decreased the cost of inlining an extra call from 60 to 57, since it was a safe change that could help in some scenarios. One notable change spotted in that CL is that bytes.Buffer.Grow is now inlinable, meaning that a fixedbugs test needed updating. For consistency, add the test case to TestIntendedInlining too, alongside other commonly used bytes.Buffer methods. Change-Id: I4fb402fc684ef4c543fc65aea343ca1a4d73a189 Reviewed-on: https://go-review.googlesource.com/c/151979 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions