[SciPy-dev] Modernizing code

Travis Oliphant oliphant at ee.byu.edu
Tue Oct 11 21:51:52 CDT 2005


Robert Kern wrote:

>For both scipy_core and the full scipy, I would like to make these two
>changes:
>
> * Make all classes new-style classes
>  
>
Fine with me...

> * Change malloc/free/etc. to their PyMem equivalents
>  
>
Not a real problem.  I'm interested in performance too.   You'll notice 
the macros in arrayobject.h that let you change the underlying memory 
allocation call immediately (there are still a few places that use 
malloc alone).

>The former is, I think, uncontroversial. The latter *may* have an effect
>on performance, so I'm curious if it has already been considered.
>
>If there's no objection, then I'll get started on cleaning things up as
>soon as I can.
>  
>
Great...

-Travis





More information about the Scipy-dev mailing list