[Python-Dev] Keeping interned strings in a set
Neal Norwitz
nnorwitz at gmail.com
Thu Jun 15 23:18:24 CEST 2006
More information about the Python-Dev mailing list
Thu Jun 15 23:18:24 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 ]
On 6/15/06, Alexander Belopolsky <alexander.belopolsky at gmail.com> wrote: > As an exercise in using the new set C API, I've replaced the > "interned" dictionary in stringobject.c with a set. > > If there is any interest, I will submit a patch, but it does not seem > to affect performance in any meaningful way. Can you measure memory usage difference in a large app? How many strings are interned? (I think sets use less memory, it seems like they could, but I don't really remember.) n
- 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 ]
More information about the Python-Dev mailing list