Speed regression from 3.2 to 3.3

Mark Mitchell mark@codesourcery.com
Wed Jan 22 23:13:00 GMT 2003



--On Wednesday, January 22, 2003 11:29:39 AM -0800 Matt Austern 
<austern@apple.com> wrote:

> gc shot up from 3.2 to 3.2, and went down again in 3.4.  So if Mark's
> new parser has an effect, it would be that it's much more efficient in
> memory usage.  Is that plausible?  (Honest question, not rhetorical.
> I haven't looked at his code yet; quite possible the answer is yes.)

There are some ways in which it's more efficient, and some ways in
which it's not, but, on balance, I wouldn't think that's where the
big changes are coming from.  I did make some improvements along the
way to avoid allocating so much memory, and (for example) removing
implicit typename has that effect.

There are some other algorithmic improvements we plan to make to the
C++ front end over the next month or so that will also speed it up,
at least in some cases.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Gcc mailing list