Closed mjrussell closed 6 years ago
Ah nice one, thanks.
switching the Text inside Hex to ByteString entirely
Yeah well, would have to convert to Text
at some point to encode to JSON, so not sure there's much to gain.
Text at some point to encode to JSON
Not if we use toEncoding
right? We could just use id
then?
if we use toEncoding
Mm yeah, have to give it some thought ... it could optimize the read path from HTTP headers (which are ByteStrings), which currently go through TextMap
.
Resolves #17
I thought about switching the
Text
insideHex
toByteString
entirely, but that looked like a bunch of changes so I figured I'd do this first.