1
0
mirror of https://github.com/golang/go synced 2024-10-05 14:01:21 -06:00
go/src/encoding
Egon Elbre b075d1fc2e encoding/base64: Optimize EncodeToString and DecodeString.
benchmark                   old ns/op     new ns/op     delta
BenchmarkEncodeToString     31281         23821         -23.85%
BenchmarkDecodeString       156508        82254         -47.44%

benchmark                   old MB/s     new MB/s     speedup
BenchmarkEncodeToString     261.88       343.89       1.31x
BenchmarkDecodeString       69.80        132.81       1.90x

Change-Id: I115e0b18c3a6d5ef6bfdcb3f637644f02f290907
Reviewed-on: https://go-review.googlesource.com/8808
Reviewed-by: Nigel Tao <nigeltao@golang.org>
2015-04-24 01:45:43 +00:00
..
ascii85
asn1 debug/dwarf, encoding/asn1, go/ast: fix old comments 2015-03-24 00:09:30 +00:00
base32
base64 encoding/base64: Optimize EncodeToString and DecodeString. 2015-04-24 01:45:43 +00:00
binary encoding/binary: cull dead code 2015-03-14 02:51:22 +00:00
csv all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
gob encoding/gob: fix hang from skipping large slices 2015-04-17 22:04:34 +00:00
hex
json encoding/json: Fixed the comment specifying Marshal behavior for maps. 2015-02-18 23:57:36 +00:00
pem encoding/pem: eliminate allocations for newlines during encoding 2014-12-21 22:06:09 +00:00
xml encoding/xml: fix default namespace of tags 2015-03-09 09:10:30 +00:00
encoding.go