This is the mail archive of the
mailing list for the GCC project.
Re: gcc compile-time performance
Geoff Keating wrote:-
> You ought to be able to optimise this down to a single array or bitmap
> lookup per character, to determine whether the character is the first
> one of a multibyte sequence or a state-changing character. The C
> standard guarantees that most of the characters that appear in a C
> program are always single bytes, so it'll be rare that you ever have
> to actually call back to the C library.
I think Zack intends to accept encodings that fall outside that