This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] New program_changed event, cleanup some HPUXHPPAmess


On Mon, May 31, 2004 at 03:43:17PM -0400, Andrew Cagney wrote:

We'll find out - the change will put the additional lookups will put the symtab under extra strain.


I have trouble thinking anything will break.  Both minimal and full
symbol lookups are O(1) already and have been for at least two years.

In that case, since the cache was originally added to work around what was a >>O(1) lookup, it should no longer be needed.


Of course, if that isn't the case, we'll find out.

When it comes to fixing the problem, we can extend/tighten the symtab interface so that other code can also benefit. That is where the cache mechanism belongs - not in hp specific code.

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]