Skip to content
  • bos's avatar
    Drop some special-casing for ASCII during UTF-8 encoding · 0f3435ba
    bos authored
    I somehow forgot that we allocate the initial ByteString to contain
    the same number of bytes as the Text contains code units. This means
    that we never need to ensure that the ByteString is big enough, nor
    (with this observation) does a special-cased ASCII-only loop help
    performance.
    0f3435ba