[Python-Dev] Alternative implementation of interning, take 2

Oren Tirosh oren-py-d@hishome.net
Fri, 12 Jul 2002 01:20:00 +0300


On Fri, Jul 12, 2002 at 12:16:29AM +0200, Martin v. Loewis wrote:
> Oren Tirosh <oren-py-d@hishome.net> writes:
> 
> > This version, like the previous one, does not support indirect interning of
> > strings.  Is there any evidence that this optimization is still important?
> > Nothing in the Python distribution itself needs it.
> 
> That is still factually incorrect; the code is triggered in a test case.

A few indirectly interned strings are still created, but I couldn't find any 
case where one was actually used as a key to PyDict_GetItem.

	Oren