diff options
| author | Guido van Rossum <guido@python.org> | 2012-06-22 22:18:38 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2012-06-22 22:18:38 (GMT) |
| commit | 8e0d25504c5a7309bdebda33b3aa9b8213896907 (patch) | |
| tree | b7b95aae5a041d01b70d3d26d7d3b1b853749af9 /Objects/setobject.c | |
| parent | 95c1c48fd6841230c6e8600b604e8460010ab399 (diff) | |
| parent | 541b7c89ff179a945fb4f5745efc484df646a751 (diff) | |
| download | cpython-8e0d25504c5a7309bdebda33b3aa9b8213896907.zip cpython-8e0d25504c5a7309bdebda33b3aa9b8213896907.tar.gz cpython-8e0d25504c5a7309bdebda33b3aa9b8213896907.tar.bz2 | |
Merge
Diffstat (limited to 'Objects/setobject.c')
| -rw-r--r-- | Objects/setobject.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index b903fbee..3e91572 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -1133,6 +1133,16 @@ PySet_Fini(void) Py_CLEAR(emptyfrozenset); } +/* Print summary info about the state of the optimized allocator */ +void +_PySet_DebugMallocStats(FILE *out) +{ + _PyDebugAllocatorStats(out, + "free PySetObject", + numfree, sizeof(PySetObject)); +} + + static PyObject * set_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { |
