Compilation time
Zack Weinberg
zack@codesourcery.com
Thu May 1 00:26:00 GMT 2003
Don Lindsay <lindsayd@cisco.com> writes:
>> (Also, generation of the .ii file is slow, as no one has bothered
>> to make it fast.)
>
> There is now a community who would like it to be fast. Specifically,
> the users of ccache:
>
> http://ccache.samba.org/
>
> Do you have a specific reason to think .ii-writing could be made faster?
Oh yes. I've profiled it and a majority of the total runtime is
wasted on stdio overhead. If c-ppoutput.c had a custom output buffer
without that overhead, it'd be fast. This has never made it to the
top of my queue, but if you want to implement it I'll be happy to
review it.
zw
More information about the Gcc
mailing list