[Numpy-discussion] Zeros in strides

Travis Oliphant oliphant at ee.byu.edu
Fri Feb 3 13:54:03 CST 2006


Sasha wrote:

>Attached patch allows numpy create memory-saving zero-stride arrays.
>
>  
>
A good first cut. 

I'm very concerned about the speed of PyArray_NewFromDescr.   So, I 
don't really want to make changes that will cause it to be slower for 
all cases unless absolutely essential. 

Could you give more examples of how you will be using these zero-stride 
arrays?  What problem are they actually solving?

I would also like to get more opinions about Sasha's proposal for 
zero-stride arrays.

-Travis





More information about the Numpy-discussion mailing list