[Numpy-discussion] Speed performance on array constant set
mark at mitre.org
Mon Jan 23 08:00:02 CST 2006
Travis Oliphant wrote:
> First of all, try using NumPy instead of Numarray: import numpy as na
Ive got some NumArray C API investment in the typemaps. Is the C high
level API the same, ie. NA_Input, etc? I havnt found the C API docs on
the web site.
> Second: use math (i.e. a += 7)
> Third: There are specialized fill routines .fill() in numpy and a
> simliar routine in Numarray that can be faster then indexing.
Im happy to help out on the optimization of .fill if needed
More information about the Numpy-discussion