A Divendres 18 Agost 2006 16:44, Chris Kees va escriure: > Can you provide some details about your approach to migrating to > NumPy? Are you following some documentation on migration or do you > have your own plan of attack?
Well, to say the truth none of both ;-). The truth is that I was trying to accelerate some parts of my software and realized that numarray was an important bottleneck. NumPy was already in advanced beta stage and some small benchmarks conviced me that it would be the solution. So, I started porting one single C extension (PyTables has several), the simplest one, and checked that the results were correct (and confirmed that the new code was much faster!). After that, the second extension came converted and I'm in the process of checking everything. Now, there remains 3 more extensions to migrate, but the important ones for me are done. So, no plans other than having a good motivation (and the need for speed was a very good one). However, I think that having a complete test suite checking every detail of your software was key. Also, having access to the excellent book by Travis was extremely helpful. Finally, having IPython opened to check everything, look at online docstrings and be able to do fast timings added the "cerise sur le gâteau". Luck! -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" ------------------------------------------------------------------------- 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 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion