C++ PATCH: More speedups
Mark Mitchell
mark@codesourcery.com
Tue Jan 2 17:31:00 GMT 2001
>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:
Richard> On Tue, Jan 02, 2001 at 04:25:07PM -0800, Mark Mitchell
Richard> wrote:
>> + ggc_add_tree_root (&free_bindings, 1);
Richard> Do you really want to mark these instead of zapping them
Richard> (similar to zap_lists in lists.c)?
I think so. A lot of the bindings that were coming and going were
coming at the top level as we went in and out of class scope; I didn't
want to lose them every time we left a function. It's a good question
though; it was clear by measuing that my change was an improvement --
but I don't know if it was optimal.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-patches
mailing list