X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3C5636B0.C7F6C829@yahoo.com> From: CBFalconer 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> <87y9itlyu7 DOT fsf AT pfaff DOT stanford DOT edu> <3C54C522 DOT D67792AC AT yahoo DOT com> <87r8oamj5i DOT fsf AT pfaff DOT stanford DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 35 Date: Tue, 29 Jan 2002 07:11:41 GMT NNTP-Posting-Host: 12.90.167.172 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1012288301 12.90.167.172 (Tue, 29 Jan 2002 07:11:41 GMT) NNTP-Posting-Date: Tue, 29 Jan 2002 07:11:41 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ben Pfaff wrote: > > CBFalconer writes: > > > Ben Pfaff wrote: > > > > > > CBFalconer writes: > > > > > > > On my 486/80 65M system with gcc or lcc insertion of 10000 items > > > > or more has a serious pause during program exit, when hshkill is > > > > called, which in turn calls the hshfreefn and thence free for each > > > > item. The pause becomes oppressive for larger amounts of > > > > insertions, and is **much** longer than the time to insert. The > > > > items are freed in no particular order. > > > > > > Would you mind posting your test program? > > > > I believe I sent it to you. > > And I posted my analysis of the speed. If you didn't see it, > check Google. My mind is going :-) I didn't realize that that was specifically of my code, I though it was a generic malloc/free test. At any rate I have decided to ignore the problem, because it more or less goes away with VC6, so it isn't my fault. And it doesn't really become noticeable until 50,000 or so entries. -- 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)