Message40460
Logged In: YES
user_id=562624
This implementation supports both mortal and immortal interned
strings.
PyString_InternInPlace creates an immortal interned string for
backward compatibility with code that relies on this behavior.
PyString_Intern creates a mortal interned string that is
deallocated when its refcnt reaches 0. Note that if the string
value has been previously interned as immortal this will not
make it mortal.
Most places in the interpreter were changed to PyString_Intern
except those that may be required for compatibility.
This version of the patch, like the previous one, disables
indirect interning. Is there any evidence that it is still an
important optimization for some packages?
Make sure you rebuild everything after applying this patch
because it modifies the size of string object headers.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:13:56 | admin | link | issue576101 messages |
2007-08-23 15:13:56 | admin | create | |
|