• Benno Schulenberg's avatar
    chars: optimize for the most common case · 85ebe971
    Benno Schulenberg authored
    That is: elide a second test from the most travelled path: a valid
    character.  This adds a second call of mblen() when parse_mbchar()
    is called on a terminating zero, but that should never happen.
    85ebe971
chars.c 21.1 KB