[Numpy-discussion] when and where to use numpy arrays vs nested lists

Charles R Harris charlesr.harris@gmail....
Thu Mar 1 16:38:37 CST 2007


On 3/1/07, Mark P. Miller <mpmusu@cc.usu.edu> wrote:
>
> One more note (this perhaps may need a separate topic):
>
> I've been using the Enthought python edition that contains python 2.4.3
> and numpy 0.9.9.2706.  After Robert Kern pointed out that I should try
> numpy 1.0.1, I went ahead and installed it (downloaded a few hours ago:
> "numpy-1.0.1.win32-py2.4.exe").
>
> Now however, I'm seeing perhaps a more serious problem:   The test
> program that I'm working with went from taking ~80 seconds to run to
> taking over 10 minutes to run.  I've rolled back to my old numpy version
> and confirmed that the old version was much faster.  I also tried
> re-installing 1.0.1, and once again am seeing much slower runtimes.
>
> My code contains numpy arrays where items are accessed on an
> element-by-element basis.  I also make use of some of numpy's random
> number generators.
>
> Just thought I'd point this out,
>
> -Mark


Seems odd. Some example code would help us see what is going.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070301/7ae3ccd5/attachment.html 


More information about the Numpy-discussion mailing list