From: Chris K. <chr...@er...> - 2006-08-18 14:44:21
|
Can you provide some details about your approach to migrating to =20 NumPy? Are you following some documentation on migration or do you =20 have your own plan of attack? Chris On Aug 18, 2006, at 6:59 AM, Francesc Altet wrote: > Hi, > > I'm starting to (slowly) replace numarray by NumPy at the core of =20 > PyTables, > specially at those places where the speed of NumPy is *much* =20 > better, that is, > in the creation of arrays (there are places in PyTables where this is > critical, most specially in indexation) and in copying arrays. In =20 > both cases, > NumPy performs between 8x to 40x than numarray and this is, well..., > excellent :-) > > Also, the big unification between numerical homogeneous arrays, =20 > string > homogeneous arrays (with unicode support added) and heterogeneous =20 > arrays > (recarrays, with nested records support there also!) is simplyfying =20= > very much > the code in PyTables where there are many places where one have to > distinguish between those different objects in numarray. =20 > Fortunately, this > distinction is not necessary anymore in many of this places. > > Furthermore, I'm seeing that most of the corner cases where =20 > numarray do well > (this was the main reason I was conservative about migrating =20 > anyway), are > also very well resolved in NumPy (in some cases better, as for one, =20= > NumPy has > chosen NULL terminated strings for internal representation, instead =20= > of space > padding in numarray that gave me lots of headaches). Of course, =20 > there are > some glitches that I'll report appropriately, but overall, NumPy is =20= > behaving > better than expected (and I already had *great* expectations). > > Well, I just wanted to report these experiences just in case other =20 > people is > pondering about migrating as well to NumPy. But also wanted to =20 > thanks (once > more), the excellent work of the NumPy crew, and specially Travis =20 > for their > first-class work. > > Thanks! > > --=20 >> 0,0< Francesc Altet http://www.carabos.com/ > V V C=E1rabos Coop. V. Enjoy Data > "-" > > ----------------------------------------------------------------------=20= > --- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion |