www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Message-ID: | <4047C3E0.CA1CC67F@yahoo.com> |
From: | CBFalconer <cbfalconer AT yahoo DOT com> |
Organization: | Ched Research |
X-Mailer: | Mozilla 4.75 [en] (Win98; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Speed of free() |
References: | <40457b5c DOT 5675949 AT localhost> <4045C364 DOT 41EFB535 AT yahoo DOT com> <40469645 DOT 78111865 AT localhost> <4046F311 DOT D6455EA1 AT yahoo DOT com> <40476e97 DOT 133498200 AT localhost> |
Lines: | 31 |
Date: | Fri, 05 Mar 2004 03:53:37 GMT |
NNTP-Posting-Host: | 12.76.142.186 |
X-Complaints-To: | abuse AT worldnet DOT att DOT net |
X-Trace: | bgtnsc04-news.ops.worldnet.att.net 1078458817 12.76.142.186 (Fri, 05 Mar 2004 03:53:37 GMT) |
NNTP-Posting-Date: | Fri, 05 Mar 2004 03:53:37 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Scott wrote: > CBFalconer <cbfalconer AT yahoo DOT com> wrote: > ... snip ... > > Maybe it wasn't 2.01 -- I don't understand DJGPP versioning. I > reverted to the version where 'gcc -v' says 2.8.0 and rebuilt my > program, and the dreadful free() slowdown went away. For > comparison: > > gcc 2.8.0, n=383701, t=0.33 seconds > gcc 3.3.3, n=383701, t=136 seconds > gcc 3.3.3 w/nmalloc, n=383701, t=0.56 seconds Interesting. I never used 2.01. malloc/free are in the library. > > > AFAICT you can use the revised malloc anywhere except some things > > to do with porting gcc, where the memalign stuff is needed. > > Isn't the free-standing version of nmalloc GPLed? It also has the terms of copying.dj, which is pretty non-restrictive. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. <http://cbfalconer.home.att.net> USE worldnet address!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |