Commit 368a5e0f authored by Christian Hergert's avatar Christian Hergert
Browse files

utf8: short circuit on sequence length based on remaining characters.

If utf8_seq is longer than we have remaining bytes, just skip the further
checks below. Not necessarily faster, but easer to read that it is doing
"the right thing".
parent 4ad22796
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment