From: A. M. A. <per...@gm...> - 2006-10-20 07:01:51
|
On 18/10/06, Travis Oliphant <oli...@ie...> wrote: > If there are any cases satisfying these rules where a copy does not have > to occur then let me know. For example, zeros((4,4))[:,1].reshape((2,2)) need not be copied. I filed a bug in trac and supplied a patch to multiarray.c that avoids copies in PyArray_NewShape unless absolutely necessary. A. M. Archibald |