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]

Re: [RFA] osfsolib.c: support Tru64 5.x


On May 25,  8:47pm, Nick Duffek wrote:

> On 25-May-2001, Kevin Buettner wrote:
> 
> >I think this is slightly less efficient
> 
> You're talking about the repeated calls to target_resize_to_sections,
> right?

Yes, along with all of the memory allocation, deallocation, and
copying that go along with it.

> I agree.  It wouldn't be too hard to pre-widen the section array before
> entering the loop and then narrow it afterward.  If you think it's worth
> doing, let me know and I'll post a follow-on patch.

I think it's okay as is.  (Fifteen years ago, I would've felt differently.)

Kevin


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