1
0
mirror of https://github.com/golang/go synced 2024-11-24 02:30:12 -07:00
go/src/encoding
Josh Bleecher Snyder 5e15497b56 encoding/hex: change lookup table back to string
CL 27254 changed hextable to a byte array for performance.
CL 28219 fixed the compiler so that that is no longer necessary.
As Kirill notes in #15808, a string is preferable
as the linker can easily de-dup it.
So go back. No performance changes.

Change-Id: Ibef7d21d0f2507968a0606602c5dd57ed4a85b1b
Reviewed-on: https://go-review.googlesource.com/40970
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-04-18 18:16:08 +00:00
..
ascii85
asn1 encoding/asn1: support 31 bit identifiers with OID 2017-04-13 00:49:49 +00:00
base32
base64 encoding/base64, html/template: fix grammar mistakes 2017-03-07 17:42:45 +00:00
binary
csv
gob encoding/gob: Speedup map decoding by reducing the allocations. 2017-03-24 19:36:14 +00:00
hex encoding/hex: change lookup table back to string 2017-04-18 18:16:08 +00:00
json encoding/json: reduce unmarshal mallocs for unmapped fields 2017-03-20 23:58:56 +00:00
pem encoding/pem: yet another fuzz fake failure 2017-04-03 18:46:56 +00:00
xml encoding/xml: unmarshal allow empty, non-string values 2017-03-22 23:33:36 +00:00
encoding.go