On Mon, Oct 20, 2008 at 16:13, Lane Brooks <[EMAIL PROTECTED]> wrote:
> Thanks for all this valuable feedback.  I read your blog post and like the
> idea but not the overhead.  I guess my initial approach of doing a memory
> handoff to the numpy Array was a bit naive.  It seems to be working, but I
> guess that is because numpy uses free to deallocate memory?

It uses PyMem_Free() (except for a few places that I've just noticed)
which itself uses free() *except* if Python is compiled with
-DPYMALLOC_DEBUG, in which case it uses its own debugging
implementations.

-- 
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