commit | 85ebe971e205084655a8abeaff42e3b0ff27d752 | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Thu Dec 15 16:45:26 2016 +0100 |
committer | Benno Schulenberg <bensberg@justemail.net> | Thu Dec 15 17:44:18 2016 +0100 |
tree | 89c929fe048ae0b6922c56d5efa2c50ab2f2c61c | |
parent | fc101a6deddb56ba2e95d812115493a18a61e39a [diff] |
chars: optimize for the most common case 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.