X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3C4B086A.FA040C14@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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 31 Date: Sun, 20 Jan 2002 18:22:37 GMT NNTP-Posting-Host: 12.90.177.119 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1011550957 12.90.177.119 (Sun, 20 Jan 2002 18:22:37 GMT) NNTP-Posting-Date: Sun, 20 Jan 2002 18:22:37 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: > > > 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? (* following mailed with attachment *) It adds up to a chunk, so I prefer to pack it in a zip. Here tis. Running: hashtest 4 n installs n items, almost all different. If n is odd the free step is not executed. Not released yet, so keep it for you own use only please. -- 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)