Christopher Barker wrote:
> This discussion makes me wonder if the basic element-wise operations 
> could (should?) be special cased for contiguous arrays, reducing them to 
>   simple pointer incrementing from the start to the finish of the data 
> block. The same code would work for C and Fortran order arrays, and be 
> pretty simple.
>
> This would address Hans' issue, no?
>
> It's a special case but a common one.
>
>   
There is a special case for this already.  It's just that the specific 
operations he is addressing requires creation of output arrays that by 
default are in C-order.    This would need to change in order to take 
advantage of the special case.

-Travis O.

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to