diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-23 17:43:33 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-23 17:43:33 (GMT) |
commit | d8e61c348e23734dc138be18c29c74e6892fb86d (patch) | |
tree | 4345bcd0384983d585bc755b57fc5d6618e07b74 /Objects | |
parent | 29037720d1391bca0e37851e053c85bb092d192e (diff) | |
download | cpython-d8e61c348e23734dc138be18c29c74e6892fb86d.zip cpython-d8e61c348e23734dc138be18c29c74e6892fb86d.tar.gz cpython-d8e61c348e23734dc138be18c29c74e6892fb86d.tar.bz2 |
Remove last references to the removed Unicode free list
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index ef2839a..547c857 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -50,29 +50,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # define DONT_MAKE_RESULT_READY #endif -/* Limit for the Unicode object free list */ - -#define PyUnicode_MAXFREELIST 1024 - -/* Limit for the Unicode object free list stay alive optimization. - - The implementation will keep allocated Unicode memory intact for - all objects on the free list having a size less than this - limit. This reduces malloc() overhead for small Unicode objects. - - At worst this will result in PyUnicode_MAXFREELIST * - (sizeof(PyUnicodeObject) + KEEPALIVE_SIZE_LIMIT + - malloc()-overhead) bytes of unused garbage. - - Setting the limit to 0 effectively turns the feature off. - - Note: This is an experimental feature ! If you get core dumps when - using Unicode objects, turn this feature off. - -*/ - -#define KEEPALIVE_SIZE_LIMIT 9 - /* Endianness switches; defaults to little endian */ #ifdef WORDS_BIGENDIAN |