This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Eliminate quadratic slow-down on number of solibs (part 2).
- From: Tom Tromey <tromey at redhat dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 29 May 2009 19:59:33 -0600
- Subject: Re: [patch] Eliminate quadratic slow-down on number of solibs (part 2).
- References: <8ac60eac0905051749p3b5d14d9q8903b9de8e18137f@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Paul> Attached is an alternative patch which subsumes the other two,
Paul> and kills additional 15% of wasted CPU time.
Paul> It feels like a hack, but I don't see how to achieve the same
Paul> result in a cleaner way :-(
I think the idea is sound: defer some updates until after a batch of
updates has gone through.
The problem is the implementation -- adding a new global is ugly.
But, it seems to me that it would not be too hard to add a new flag
argument to the call chain here. This would be a bit ad hoc, but so
what?
Tom