This is the mail archive of the gdb-patches@sourceware.org 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] Eliminate quadratic slow-down on number of solibs (part 2).


>>>>> "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


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