Skip to content
Snippets Groups Projects
Commit 9cd3f3ad authored by bos's avatar bos
Browse files

encodeUtf8_2: cap the number of wasted bytes at 2x

This has the odd side effect of improving tiny-string performance
from 20% slower then encodeUtf8_1 to about 5% faster. Never stop
being weird, GHC optimizer!
parent 2b68d6b8
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