[Python-Dev] d.get_key(key) -> key?

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 06 Jun 2002 13:12:56 +1200 (NZST)


> For our application, we can not afford to "leak" the memory we would
> lose to the immortal strings.

Seems to me that if the implementation of interning were
smart enough, it would be able to drop strings that were
not referenced from anywhere else.

Maybe *that* would be a useful feature to add?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+