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


On Sun, May 19, 2002 at 12:39:46PM +0100, Neil Booth wrote:
> Robert Dewar wrote:-
> 
> > I disagree, unless you have some perverse definiteion of "properly".
> 
> Well, a call to the mb functions or iconv is considerably more
> expensive than
> 
>    c = *buffer->cur++;

We shouldn't be doing mbchar calls in the fast path, though.  I
thought we were going to pre-convert to UTF8 a line at a time, then
keep the existing lexer loop with some augmentations.  Even the
conversion can be bypassed when we know the input text doesn't use
multibyte characters.

zw


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