[plt-scheme] immutable strings vs. uninterned symbols
On 6/7/06, Doug Orleans <dougorleans at gmail.com> wrote:
> So why does it single out interned symbols? Why doesn't it just say
> "all symbols are garbage collected"?
The difference between interned and uninterned symbols is that
interned symbols are held in a symbol table. To reassure users that
interned symbols are garbage collected despite this, the documentation
explains that they are only weakly held. Since uninterned symbols are
not held in a symbol table at all, the documentation has nothing
special to say about their garbage collection properties.
--
Carl Eastlund
"Cynical, but technically correct."