X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Ben Pfaff Newsgroups: comp.lang.c,comp.os.msdos.djgpp,comp.compilers.lcc Subject: Re: hash library - interface criticisms Date: 28 Jan 2002 10:20:57 -0800 Lines: 23 Sender: blp AT pfaff DOT stanford DOT edu Message-ID: <87r8oamj5i.fsf@pfaff.stanford.edu> References: <3C4ADB8E DOT 552CAE40 AT yahoo DOT com> <87y9itlyu7 DOT fsf AT pfaff DOT stanford DOT edu> <3C54C522 DOT D67792AC AT yahoo DOT com> NNTP-Posting-Host: pfaff.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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. -- "The expression isn't unclear *at all* and only an expert could actually have doubts about it" --Dan Pop