This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: FYI GDB on-disk .debug cache (mmapcache) [Re: Tasks]
On Wed, Aug 06, 2008 at 05:43:56PM -0600, Tom Tromey wrote:
> There seem to be a few possible smaller optimization opportunities:
>
> * Maybe delaying psymtab symbol sorting would save some cycles in the
> plain attach case -- this only defers it until later, but that might
> be good enough in some situations. (I'm thinking -- there is some
> minimum amount of work we will have to do. Spreading it out and
> making it conditional on the user actually needing it is friendlier.
> But, at some point presumably you just have to settle.)
>
> * Better even would be to lazily load everything; it seems like we'll
> want that for multi-process anyhow. Again, this just defers work.
>
> * Maybe we could play some trick to speed up strcmp_iw_ordered.
I've been meaning to convert the psymbols to hashed, just like the
symbols. This is not a hard project and will kill the sorting.
--
Daniel Jacobowitz
CodeSourcery