adding an attribute to an nd-array

Charles R Harris charlesr.harris at
Thu Oct 19 10:53:05 CDT 2006

On 10/19/06, Travis Oliphant <oliphant at> wrote:
> Stefan van der Walt wrote:
> >On Wed, Oct 18, 2006 at 09:17:49PM -0400, Pierre GM wrote:
> >
> >
> >>On Wednesday 18 October 2006 20:29, Stefan van der Walt wrote:
> >>


I don't think the extra bytes for every ndarray object are worth it,
> given how easy it is to sub-class and create your own ndarray that can
> have attributes attached.    What are others opinions.

I'd be more inclined to worry about speed. One of the drawbacks of numarray
was the time it took to create arrays. Since I  often use many small arrays,
numpy was a big improvement in that area.

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
-------------- next part --------------
Numpy-discussion mailing list
Numpy-discussion at

More information about the Numpy-discussion mailing list