summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-02-27 04:45:05 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-02-27 04:45:05 (GMT)
commita35c688055c72e9442f6a82c3ec0e09654077975 (patch)
tree081386e63e64467a01558567750b371baa527f8e /Objects/object.c
parent29906eef3a56c43a4cd68a8706c75844b2384e59 (diff)
downloadcpython-a35c688055c72e9442f6a82c3ec0e09654077975.zip
cpython-a35c688055c72e9442f6a82c3ec0e09654077975.tar.gz
cpython-a35c688055c72e9442f6a82c3ec0e09654077975.tar.bz2
Add Vladimir Marangozov's object allocator. It is disabled by default. This
closes SF patch #401229.
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/object.c b/Objects/object.c
index db7d518..e1dd470 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1641,3 +1641,7 @@ _PyTrash_destroy_chain(void)
--_PyTrash_delete_nesting;
}
}
+
+#ifdef WITH_PYMALLOC
+#include "obmalloc.c"
+#endif