| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
| Date: | Fri, 01 Mar 2002 10:09:01 +0200 |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| Sender: | halo1 AT zahav DOT net DOT il |
| To: | djgpp-workers AT delorie DOT com |
| Message-Id: | <2110-Fri01Mar2002100901+0200-eliz@is.elta.co.il> |
| X-Mailer: | emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 |
| In-reply-to: | <3C7E6500.AFE5FEF7@yahoo.com> (message from CBFalconer on Thu, 28 |
| Feb 2002 12:12:32 -0500) | |
| Subject: | Re: Malloc/free DJGPP code |
| References: | <10202281548 DOT AA27673 AT clio DOT rice DOT edu> <3C7E6500 DOT AFE5FEF7 AT yahoo DOT com> |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Thu, 28 Feb 2002 12:12:32 -0500 > From: CBFalconer <cbfalconer AT yahoo DOT com> > > I am working on the realloc mechanism now, and it looks as if it > is going to be able to avoid most of the copying in the most > common user sequences, such as while more input double (or > otherwise extend) the buffer size. I assume you did look at the modified realloc in the CVS sources. I think it also avoids copying in many cases, more then the version shipped with djdev203.zip. > When realloc is done I will be able to run some comparisons > against the old version with the software that exposed the free > problem in the first place. It would be interesting to add to that comparison the original code of free with a change suggested by Charles: stop trying to merge if no good place to merge was found in N attempts, for some value of N. That is, break out of the loop in `merge' after a certain number of attempts. > What do you think about the debuggery system linkage, in my 4:50 > am today message? Did you look at the malldbg.c module in the CVS version of the library? Perhaps you could make your facilities compatible with the functionality offered by that module.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |