numarray.array can be VERY slow
Edward C. Jones
edcjones at comcast.net
Sun Apr 10 16:15:14 EDT 2005
Steven Bethard wrote:
> As mentioned, this has nothing to do with numarray, and everything to
> do with your inexplicable use of lists. Why don't you just write this
> as:
>
> arr = numarray.ones((8, 8, 256, 256), Float64)
The code I posted was simplified from a larger program which I have now
revised. But I still ask: why did it take 4.3 seconds to run?
More information about the Python-list
mailing list