[Numpy-discussion] Unnecessarily bad performance of elementwise operators with Fortran-arrays
Thu Nov 8 12:28:20 CST 2007
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
This would address Hans' issue, no?
It's a special case but a common one.
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the Numpy-discussion