[Python-Dev] Activating pymalloc (original) (raw)

Neil Schemenauer nas@python.ca
Fri, 15 Mar 2002 10:37:07 -0800


Tim Peters wrote:

There's just no sane way to say "give me obmalloc.c's malloc". I'd rather we named obmalloc.c's entry points, e.g., PyMallocMalloc directly ...

Me too. That way I could have PyObject_GC_{New,NewVar,Del} use obmalloc under the hood. Even better, maybe there's a way to do some inlining and remove some of the alloction function call overhead.

Neil