[Numpy-discussion] Speeding up numarray -- questions on its design
perry at stsci.edu
Tue Jan 18 17:55:38 CST 2005
Paul Dubois wrote:
> I haven't followed this discussion in detail but with respect to space
> for 'descriptors', it would simply be foolish to malloc space for these.
> The cost is ridiculous. You simply have to decide how big a number of
> dimensions to allow, make it a clearly findable definition in the
> sources, and dimension everything that big.
> Originally when we discussed this we considered 7, since that had been
> (and for all I know still is) the maximum array dimension in Fortran.
> But Jim Huginin needed 11 or something like it for his imaging. I've
> seen 40 in the numarray sources I think.
Actually, 40 came from Numeric. It may have been reduced to 11, but I'm
sure it was 40 at one point. Jim even had a comment in the code to the
that if someone needed more than 40, he wanted to see the problem that
needed that. If people think it is too high, I'd be very happy to reduce
More information about the Numpy-discussion