[Numpy-discussion] Unnecessarily bad performance of elementwise operators with Fortran-arrays
Christopher Barker
Chris.Barker at noaa.gov
Thu Nov 8 13:28:20 EST 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
pretty simple.
This would address Hans' issue, no?
It's a special case but a common one.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
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
Chris.Barker at noaa.gov
More information about the NumPy-Discussion
mailing list