[Numpy-discussion] fortran array storage question

Georg Holzmann grh@mur...
Fri Oct 26 07:41:39 CDT 2007


Hallo!

> This depends on what you are trying to do, but generally, I find that if 
> you can afford it memory-wise, it is much faster to just get a C 
> contiguous array if you treat your C array element per element. If you 

Yes, but the problem is that this data is very big (up to my memory 
limit) and in python I only want to read it for debugging purpose.

And if I want to make a copy to a C contiguous array I can always do it 
like:
    my_cstyle_array = my_method().copy()


Thanks,
LG
Georg


More information about the Numpy-discussion mailing list