This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
guarantee.

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]