[Python-Dev] Activating pymalloc

Neil Schemenauer nas@python.ca
2002年3月15日 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., PyMalloc_Malloc 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

AltStyle によって変換されたページ (->オリジナル) /