Skip to content
Snippets Groups Projects
Commit 0f3435ba authored by bos's avatar bos
Browse files

Drop some special-casing for ASCII during UTF-8 encoding

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.
parent 08b39b58
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment