diff options
| author | Daniel Martí <mvdan@mvdan.cc> | 2018-12-01 16:28:27 +0000 |
|---|---|---|
| committer | Daniel Martí <mvdan@mvdan.cc> | 2018-12-01 17:31:02 +0000 |
| commit | b397248168fcb26400ac6afb88bf6080497a819e (patch) | |
| tree | 2e6c5e2740c77e76e330da4d576280396482eae8 /src/database/sql | |
| parent | 624e197c71b673f0b3ebc57f774536131b4f0f26 (diff) | |
| download | go-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')
0 files changed, 0 insertions, 0 deletions
