Re: [RFA 2/4] dwarf2_physname

Daniel Jacobowitz
2009-12-17T20:28:53Z

On Thu, Dec 17, 2009 at 01:19:49PM -0700, Tom Tromey wrote:
> Keith> As you can see, --readnow (and by extrapolation "info func" and
> Keith> "info type") take an enormous performance hit.
>
> I am not concerned about this. I don't think -readnow is actually used
> -- I can't imagine why anyone would want to use it. And, on a big
> program, an unrestricted "info func" or "info type" is probably just a
> mistake, like hitting enter too soon.

Is there a way out if you do that? Does QUIT work? Also, does print
<tab> read all symtabs?

I'm not happy with introducing this slowdown. I'd like to at least
see a profile first - of some smaller example! But I guess you're
right that -readnow is not useful; maybe I should just let go...

I thought I did -readnow profiling on my previous patches in this
area without introducing such a big slowdown, but I don't know that
for a fact.

--
Daniel Jacobowitz
CodeSourcery