From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Nick Duffek Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] osfsolib.c: support Tru64 5.x Date: Fri, 25 May 2001 18:08:00 -0000 Message-id: <1010526010820.ZM16769@ocotillo.lan> References: <1010525224132.ZM16493@ocotillo.lan> <200105260047.f4Q0lLj05756@rtl.cygnus.com> X-SW-Source: 2001-05/msg00473.html 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