[Python-Dev] Keeping interned strings in a set (original) (raw)
Raymond Hettinger rhettinger at ewtllc.com
Fri Jun 16 04:29:28 CEST 2006
- Previous message: [Python-Dev] Keeping interned strings in a set
- Next message: [Python-Dev] Keeping interned strings in a set
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alexander Belopolsky wrote:
This is very raw, but in the spirit of "release early and often", here it is:
http://sourceforge.net/tracker/download.php? groupid=5470&atid=305470&fileid=181807&aid=1507011 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.
Raymond
- Previous message: [Python-Dev] Keeping interned strings in a set
- Next message: [Python-Dev] Keeping interned strings in a set
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]