[Python-Dev] Keeping interned strings in a set (original) (raw)
Alexander Belopolsky alexander.belopolsky at gmail.com
Fri Jun 16 05:47:56 CEST 2006
- Previous message: [Python-Dev] Keeping interned strings in a set
- Next message: [Python-Dev] Numerical robustness, IEEE etc.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jun 15, 2006, at 10:29 PM, Raymond Hettinger wrote:
Nicely done. It is fine by me if this goes in so we save a little space in the intern table.
Thanks for the good word. I've reworked the code a little bit and
fixed the comments. I don't have svn write access, so someone else
will have to take over from here.
http://sourceforge.net/tracker/download.php? group_id=5470&atid=305470&file_id=181816&aid=1507011
One nit, in PyReleaseInternedStrings() you can use PySetCheckExact(interned) instead of the obtype.
That's what I wanted to use myself, but PySet_CheckExact does not
exist. This looks like an oversight, but fixing that should probably
come as a separate patch.
- Previous message: [Python-Dev] Keeping interned strings in a set
- Next message: [Python-Dev] Numerical robustness, IEEE etc.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]