This is the mail archive of the mailing list for the libstdc++ 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: merging for 3.4 (was Re: [Patch] Qualify min(), max() ...)

On Wed, 4 Dec 2002, Neil Booth wrote:

> Jan Hubicka wrote:-
> > Compiler is getting slower in each release but that is mostly cumulative
> > result of adding new features current infrastructure can't accept
> > cheaply...
> I hate this slowness.  There's no reason IMO that GCC couldn't be 4
> times faster than it is, without any PCH or anything.  A lot of the
> code we use is just awfully inefficient.  And people are working on
> more interesting things than fixing some of the real problems we have.

This is one of the very reasons for tree-ssa. So we can do most of the
slow crap we do in the backend (attempts at high level loop optimizations,
etc), in the frontend at a reasonable speed with good algorithms (it's
hard to do at reasonable speed in the backend because we end up trying to
recreate info we already have).
Most compiler backends consist mainly of cheap optimizations, register
allocation, and scheduling.
That's it.

> There's no excuse for the parser taking more time than CPP for example;
> currently it takes about 4-5 times as long.  I want to see GCC so fast
> that CPP is up to 5-10% of CPU time.  It's rarely much above 1 or 2%.
> Neil.

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