1
0
mirror of https://github.com/golang/go synced 2024-10-04 08:31:22 -06:00
go/src/pkg/bytes
Dave Cheney d472d3faf1 bytes: add assembly version of Equal for ARM
BenchmarkEqual32                       662          159  -75.98%
BenchmarkEqual4K                     76545        13719  -82.08%
BenchmarkEqual4M                  90136700     23588870  -73.83%
BenchmarkEqual64M               2147483647   1419616000  -42.63%

BenchmarkEqual32                     48.32       201.15    4.16x
BenchmarkEqual4K                     53.51       298.56    5.58x
BenchmarkEqual4M                     46.53       177.81    3.82x
BenchmarkEqual64M                    27.12        47.27    1.74x

R=golang-dev, qyzhai, minux.ma, rsc, iant, nigeltao
CC=golang-dev
https://golang.org/cl/6118049
2012-05-02 12:10:24 +10:00
..
asm_386.s bytes: faster Count, Index, Equal 2011-12-07 15:09:56 -05:00
asm_amd64.s bytes: lost edit from earlier CL 2011-12-07 15:30:01 -05:00
asm_arm.s bytes: add assembly version of Equal for ARM 2012-05-02 12:10:24 +10:00
buffer_test.go bytes: delete the test for huge buffers 2012-01-22 09:25:47 -08:00
buffer.go bytes.Buffer: return error in WriteTo if buffer is not drained 2012-02-09 08:58:40 +11:00
bytes_decl.go big, bytes: move assembly externs to separate file 2010-06-21 19:53:08 -07:00
bytes_test.go bytes: document Compare/Equal semantics for nil arguments, and add tests. 2012-02-18 17:39:40 +11:00
bytes.go bytes: document Compare/Equal semantics for nil arguments, and add tests. 2012-02-18 17:39:40 +11:00
example_test.go godoc: make example code more readable with new comment convention 2012-02-16 11:50:28 +11:00
export_test.go bytes: faster Count, Index, Equal 2011-12-07 15:09:56 -05:00
reader_test.go bytes,strings: make *Reader implement io.ReaderAt 2012-02-15 12:58:00 +11:00
reader.go bytes,strings: make *Reader implement io.ReaderAt 2012-02-15 12:58:00 +11:00