On 18/10/06, Travis Oliphant <[EMAIL PROTECTED]> 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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to