This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile-time performance
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, neil at daikokuya dot demon dot co dot uk
- Cc: aoliva at redhat dot com, chip dot cuntz at earthling dot net, davem at redhat dot com,gcc at gcc dot gnu dot org, jh at suse dot cz
- Date: Sun, 19 May 2002 08:10:15 -0400 (EDT)
- Subject: 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.