• Tim Düsterhus's avatar
    Improve performance of the hex encoder · 1577f6e6
    Tim Düsterhus authored
    Single bytes can more efficiently be accessed by directly indexing the string.
    
    This also implicitly fixes a bug without any visible effect: `encodeUpper`
    retrieved two characters from the bytestring, but only ever used the first.
    1577f6e6