]> Cypherpunks repositories - gostls13.git/commit
text/tabwriter: fix BenchmarkPyramid and BenchmarkRagged again
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 3 Jun 2018 14:26:16 +0000 (07:26 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 4 Jun 2018 17:32:17 +0000 (17:32 +0000)
commitcf2c2ea89d09d486bb018b1817c5874388038c3a
tree9473c8b23c15ceb658df25a9b80b20b40a64d453
parentef9217e7bd9c854e4f8d2d79ff8aec550130cbc4
text/tabwriter: fix BenchmarkPyramid and BenchmarkRagged again

These were added in CL 106979. I got them wrong.
They were fixed in CL 111643. They were still wrong.
Hopefully this change will be the last fix.

With this fix, CL 106979 is allocation-neutral for BenchmarkRagged.
The performance results for BenchmarkPyramid reported in CL 111643 stand.

Change-Id: Id6a522e6602e5df31f504adf5a3bec9969c18649
Reviewed-on: https://go-review.googlesource.com/116015
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/text/tabwriter/tabwriter_test.go