• Raymond Hettinger's avatar
    Remove the freelist scheme for setobjects. · c1e089f7
    Raymond Hettinger authored
    The setobject freelist was consuming memory but not providing much value.
    Even when a freelisted setobject was available, most of the setobject
    fields still needed to be initialized and the small table still required
    a memset().  This meant that the custom freelisting scheme for sets was
    providing almost no incremental benefit over the default Python freelist
    scheme used by _PyObject_Malloc() in Objects/obmalloc.c.
    c1e089f7
setobject.c 71 KB