This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation time
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Matt Austern <austern at apple dot com>
- Cc: Paul Koning <pkoning at equallogic dot com>, dnovillo at redhat dot com, phil at jaj dot com, dberlin at dberlin dot org, mark at codesourcery dot com, ghazi at caip dot rutgers dot edu, gcc at gcc dot gnu dot org, bkoz at redhat dot com
- Date: Wed, 30 Apr 2003 13:07:39 -0700
- Subject: Re: Compilation time
- References: <003553AE-7B43-11D7-BC0B-00039390D9E0@apple.com>
Matt Austern <austern@apple.com> writes:
> I agree. We've found that in some cases preprocessor time can be
> significant.
I'd like to see examples.
> We've also found that the sum of preprocessing time and time to
> compile a .ii file is greater than the time to compile the .cc file
> to begin with.
This is inevitable -- work is done twice. (Also, generation of the
.ii file is slow, as no one has bothered to make it fast.)
zw