[Python-Dev] Keeping interned strings in a set
rhettinger at ewtllc.com
Fri Jun 16 04:29:28 CEST 2006
Alexander Belopolsky wrote:
> This is very raw, but in the spirit of "release early and often",
> here it is:
> On Jun 15, 2006, at 8:47 PM, Raymond Hettinger wrote:
>> I would be curious to see your patch.
Nicely done. It is fine by me if this goes in so we save a little space
in the intern table.
One nit, in _Py_ReleaseInternedStrings() you can use
PySet_CheckExact(interned) instead of the ob_type.
More information about the Python-Dev