This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PCH, and more generally C++ parser performance
On Sun, Aug 27, 2000 at 05:32:02PM -0700, Mark Mitchell wrote:
> >>>>> "Zack" == Zack Weinberg <zack@wolery.cumb.org> writes:
>
> You're now gradually redoing all the research I did a few months
> ago... :-) Good science, you're duplicating my results. :-)
Heh.
I can't do anything but research until my outstanding patches get
reviewed (hint, hint) so I might as well do research. :)
> Zack> I'm a bit surprised at the size and number of INTEGER_CST
> Zack> nodes. Aren't they being allocated uniquely? (looks) No
> Zack> they aren't, I was thinking of CONST_INTs. Maybe I'll make
> Zack> INTEGER_CSTs be allocated uniquely too. A bit of perl
>
> Careful, that won't work if you do it in the obvious way. Some parts
> of the compiler treat INTEGER_CST nodes as mutable. I started trying
> to fix this, but didn't finish. :-(
Yep, just discovered that myself. Also that the type of an
INTEGER_CST matters. It's a bit too big of a problem for me to tackle
right now.
zw