hash tables & symbols

Ralf Juengling <[email protected]> Wed, 6 Aug 2008 11:58:57 -0700 (PDT)
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
After making some changes to Lush's memory management in
my Lush fork the property mechanism (getp/putp) does not
work quite as before. I finally figured that it has to do
with the fact that unused symbols do not get reclaimed in
mainline Lush:

? (setq ht (htable 17 t))
= ::HTABLE:88d0db0
? (ht 'carell 'show)
= ::HTABLE:88d0db0
? (ht "uncle" "sam")
= ::HTABLE:88d0db0
? (ht 12 'o-clock)
= ::HTABLE:88d0db0
= t
? (htable-alist ht)
= ((carell . show))

Is this a bug or a feature?

Ralf


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/