mirror of https://github.com/python/cpython
Browse Source
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.pull/224/head
3 changed files with 8 additions and 49 deletions
Loading…
Reference in new issue