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


> Well, a call to the mb functions or iconv is considerably more
> expensive than
> 
>    c = *buffer->cur++;
> 
> I'm not sure, but if we want caret-positioned diagnostics in future
> (I certainly do) then it may require more book-keeping for that too.
> 
> Why do you think multibyte char support is cheap?

Depending on the source representation, this is something that should only
cost when used, and it won't be used much in practice.


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