Re: Re: clrhash does not reset count?
Roger Corman <[email protected]> Thu, 02 Oct 2003 10:39:19 -0700
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
I am very sorry about the clrhash fix not being in the relase. I will see what happened to it and try to get a patch out by tonight. Roger -------------------------------------------------------------- At 02:33 AM 10/2/2003, you wrote: >Hello Roger, > >Still the same problem in cormanlisp 2.5! > >Hans-Peter > >--- In [email protected], Roger Corman <roger@c...> wrote: >> I will try to post a clrhash patch soon. Thanks for reporting the >problems with it. >> I will also check to see if there are other places that need to be >fixed re hashtable counts. >> >> Roger >> >> At 02:58 AM 6/20/2003 +0000, you wrote: >> >Also clrhash return nil! In the hyperspec: >> > >> >Removes all entries from hash-table, and then returns that empty >hash >> >table. >> > >> >Hans-Peter >> > >> > >> >--- In [email protected], JP Massar <massar@a...> wrote: >> >> At 10:47 AM 6/19/03, hpwickern wrote: >> >> >Luke, thanks for the hint. >> >> >I add the bugfix, but still not resetting count! >> >> >> >> It's just broken. There appear to be various places in the code >> >that >> >> should be resetting the COUNT field of the hash table structure >but >> >> just aren't. >> >> >> >> If you just need a hack fix then call this function instead of >hash- >> >table-count >> >> >> >> (defun hack-htc (ht) >> >> (let ((c 0)) (maphash #'(lambda (k v) (declare (ignore k v)) >> >(incf c)) >> >> ht) c)) >> >> >> >> >> >> Otherwise you'll need to go through the hash table code and make >the >> >> necessary mods. >> > >> > >> > >> >To unsubscribe from this group, send an email to: >> >[email protected] >> > >> > >> > >> >Your use of Yahoo! Groups is subject to >http://docs.yahoo.com/info/terms/ > > > >To unsubscribe from this group, send an email to: >[email protected] > > > >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ ------------------------ Yahoo! Groups Sponsor ---------------------~--> Upgrade to 128-Bit SSL Security! http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/