Question about scientific calculations in Python
Martin Kaufmann
martinkaufmann at yahoo.com
Wed Mar 13 07:21:43 EST 2002
On Wed, 13 Mar 2002 00:13:50 -0600, "Jason Orendorff"
<jason at jorendorff.com> wrote:
>Keep in mind, though, that the code I wrote creates a huge 2D array
>when it is presented with largeish 1D arrays as arguments.
>
>So if s_vector is 10000 elements and r_vector is 10000 elements,
>then a 800-MB array is created. If you've got the RAM, this is
>okay; otherwise you're in trouble.
The machine I'm using for my calculations has 2 GB of memory. And the
vectors probably have only about n00-n000 entries.
>Also, does anyone have weave.blitz? I'd like to see how it does
>compared to the other approaches.
I will try that tomorrow. Which part should I exactly blitz?
Thanks,
Martin
More information about the Python-list
mailing list