This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ patch] Cleanup way functions are deferred
> On Wednesday, June 25, 2003, at 12:47 AM, Jan Hubicka wrote:
> >I do half of traversals of the varray compared to original code...
>
> This sounds good enough for me. I just wanted to bring up the issue,
> as this doesn't seem like it should be performance related to the
> average gcc person, but, around here at Apple, it is infamous.
In the case you are getting problems with this particular loop, I would
be very interested how unit-at-a-time relate to it.
Now when I was forced to know more than I ever wanted about it I think I
can reorganize it to the worklist if still needed and avoid the
quadratic bootleneck.
This unit-at-a-time patch partly does that - instead of wallking the
dependency graph at varconst time, it does it inside middle end with
worklists already, but still varconsts does TREE_USED checks that may
iterate when templates gets instantiated.
Honza
>
> Thanks for your work.