go/src/encoding/pem
Ben Burkert e4c2229e4c encoding/pem: eliminate allocations for newlines during encoding
benchmark           old MB/s     new MB/s     speedup
BenchmarkEncode     243.20       279.89       1.15x

benchmark           old allocs     new allocs     delta
BenchmarkEncode     1370           4              -99.71%

Change-Id: I3920bcc04b6dd89efa5da89db5594d4434426d74
Reviewed-on: https://go-review.googlesource.com/1924
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2014-12-21 22:06:09 +00:00
..
pem.go encoding/pem: eliminate allocations for newlines during encoding 2014-12-21 22:06:09 +00:00
pem_test.go encoding/pem: eliminate allocations for newlines during encoding 2014-12-21 22:06:09 +00:00