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

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


Thanks for all feedback on the previous version.  This one supports both 
immortal interned strings created with PyString_InternInPlace and mortal 
interned strings created with the new function PyString_Intern.

Places that might affect compatibility still use immortals but most interned
strings are now mortal.

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.

http://www.python.org/sf/576101

	Oren