[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    [RFA] osfsolib.c: support Tru64 5.x
From:       kevinb () cygnus ! com (Kevin Buettner)
Date:       2001-05-25 18:08:00
Message-ID: 1010526010820.ZM16769 () ocotillo ! lan
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic