adding an attribute to an nd-array

Charles R Harris charlesr.harris at gmail.com
Thu Oct 19 11:53:05 EDT 2006


On 10/19/06, Travis Oliphant <oliphant at ee.byu.edu> 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:
> >>


<snip>

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.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20061019/e130632a/attachment-0001.html>
-------------- 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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


More information about the NumPy-Discussion mailing list