Neat -- the Go runtime has a staticBytes array that contains every byte value, so you can convert any single-byte []byte to a string by indexing into staticBytes. No allocation required!https://twitter.com/golang_cls/status/969273003900096513 …
btw, apparently strconv does this too: https://go-review.googlesource.com/c/go/+/37963/7/src/strconv/itoa.go … Declaring big static arrays like these has marginal cost (larger binaries?), so I wonder how the devs decided that 100 was the appropriate size.