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]

Re: Precompiled headers and General Parsing of Header File


Jason Merrill wrote:
> 
> >>>>> Kevin Atkinson <kevina@clark.net> writes:
> 
> > Jason Merrill wrote:
> 
> >> >>>>> Kevin Atkinson <kevina@clark.net> writes:
> 
> >> > Also have you considered the idea of not fully parsing the header files
> >> > with template information in it ot help speed up compiling of code that
> >> > uses the STL.
> >>
> > I understand that not parsing template definitions also means not catching
> > syntax errors until they are instantiated, however to me that is a minor
> > drawback which can easily be fixed with a command line option...
> 
> That way lies madness.  There will only be one implementation of templates
> in the compiler.

Well I am not going to argue with you here becuase I would just make a fool
out of myself. As I have 0 experence in writting compilers.

> > Truefully I find the compile time for code that uses the STL ridiculously
> > slow and there seams to me that they has got to be a way to speed things
> > up by a factor of 1/2 or more...
> 
> Try profiling the compiler to see where it's spending all of its time.

How would I do that?  Sorry for the ignorance.


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