]> granicus.if.org Git - python/commit
PyObject_Realloc(): If a small block is shrinking, bite the expense of
authorTim Peters <tim.peters@gmail.com>
Thu, 2 May 2002 20:19:34 +0000 (20:19 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 2 May 2002 20:19:34 +0000 (20:19 +0000)
commit4ce71f77c35bafe058196bb9607cb0b1051542d9
treeabda95ac501ff57eccaa5973502168719babb7ce
parentedbffc17254cc4f5d441fd9bc1311d4ede81e8da
PyObject_Realloc():  If a small block is shrinking, bite the expense of
copying it if at least 25% of the input block can be reclaimed.
Objects/obmalloc.c