On Mon, May 5, 2008 at 7:44 AM, David Cournapeau
<[EMAIL PROTECTED]> wrote:
>  In numpy, we can always replace realloc by malloc/free, because we know
>  the size of the old block: would deprecating PyMemData_RENEW and
>  replacing them by PyMemeData_NEW/PyMemData_FREE be possible, such as to
>  make all numpy arrays follow a default alignement ? There are only a few
>  of them in numpy (6 of them), 0 in scipy, and I guess extensions never
>  really used them ?

I am in favor of at least trying this out. We will have to have a set
of benchmarks to make sure we haven't hurt the current uses of
PyMemData_RENEW which Tim points out.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to