delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Message-ID: | <3C4B0F47.1F605CC8@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.lang.c,comp.os.msdos.djgpp,comp.compilers.lcc |
Subject: | Re: hash library - interface criticisms |
References: | <3C4ADB8E DOT 552CAE40 AT yahoo DOT com> <a2evnp$1120n7$1 AT ID-97861 DOT news DOT dfncis DOT de> |
Lines: | 32 |
Date: | Sun, 20 Jan 2002 19:00:12 GMT |
NNTP-Posting-Host: | 12.90.174.71 |
X-Complaints-To: | abuse AT worldnet DOT att DOT net |
X-Trace: | bgtnsc06-news.ops.worldnet.att.net 1011553212 12.90.174.71 (Sun, 20 Jan 2002 19:00:12 GMT) |
NNTP-Posting-Date: | Sun, 20 Jan 2002 19:00:12 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
John wrote: > > "CBFalconer" <cbfalconer AT yahoo DOT com> wrote in message > news:3C4ADB8E DOT 552CAE40 AT yahoo DOT com... > > I wrote. > ========== > As a follow-up, I just did a test inserting 500,000 nodes of a linked list, > this involves setting the previous and next pointers and the data item, > amongst other things. This took 280ms. (I have quite a fast machine) > > To free the same 500,000 nodes it takes 9,236ms, and the code in this case > is only walking through the list and calling free(). > ============ > > Just tried linking with MSVCRT.LIB and the timings were thus. > > allocating 264ms, free-ing 180ms. :) That agrees with my suspicions that it is the run-time, not my code. Lcc uses the standard uSoft CRTDLL.DLL, but gcc/djgpp has it's own static linked library. I sent you the package via your sun address, I believe. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net) Available for consulting/temporary embedded and systems. (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce AT ftc DOT gov (for spambots to harvest)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |