[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
symbol array not weak
From: |
Andy Wingo |
Subject: |
symbol array not weak |
Date: |
Wed, 05 Jan 2011 16:31:05 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
The symbol interning code I posted indicates that elements of the hash
buckets are normal pairs, not weak key pairs. This is probably a bug,
and probably leads to leaked symbols.
To test:
(let lp () (gensym) (lp))
Indeed, memory rises and rises.
Andy
--
http://wingolog.org/
- symbol array not weak,
Andy Wingo <=