Feb. 13, 2008
9:22 p.m.
Travis, I notice that you used PyDataMem_NEW, PyDimMem_NEW, and friends to allocate memory in the sort routines. Is there a good reason to use these rather than malloc? Chuck
February 2008
9:30 p.m.
Charles R Harris wrote:
Travis,
I notice that you used PyDataMem_NEW, PyDimMem_NEW, and friends to allocate memory in the sort routines. Is there a good reason to use these rather than malloc? Only to allow for the possibility of different allocation routines. There is an option to use the Python memory allocators, for example.
For temporary memory, though malloc and free is fine. -Travis
6670
Age (days ago)
6670
Last active (days ago)
1 comments
2 participants
participants (2)
-
Charles R Harris -
Travis E. Oliphant