[Python-Dev] RE: Program very slow to finish

M.-A. Lemburg mal@lemburg.com
Wed, 07 Nov 2001 09:29:31 +0100


Neil Schemenauer wrote:
> 
> Tim Peters wrote:
> > Big Hammer?  Change every one of the existing guys to resolve to malloc()
> > and free().  Then declare them all obsolete, define a much smaller new set
> > of names, edit the core to use the new guys, and non-core modules get stuck
> > with malloc/free until they're rewritten too.
> 
> Sounds good to me.

+1 ... even though I've already changed all free()s to PyMem_DEL()
and then to PyObject_Del(), changing them back to free() wouldn't
be much trouble ;-)

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/