[Python-Dev] Alternative implementation of interning

Neil Schemenauer nas@python.ca
Thu, 15 Aug 2002 12:02:31 -0700


Aahz wrote:
> Isn't this irrelevant, anyway, because Jython doesn't implement
> CPython's refcount mechanisms?

I don't think mark & sweep or copying GC saves you.  If Jython keeps a
reference to interned strings then the GC cannot free that memory.

  Neil