[Numpy-discussion] Speeding up loadtxt / savetxt
Stéfan van der Walt
stefan at sun.ac.za
Tue Apr 27 10:14:01 EDT 2010
Hi Andreas
On 23 April 2010 10:16, Andreas <lists at hilboll.de> wrote:
> I was wondering if there's a way to speedup loadtxt/savetxt for big
> arrays? So far, I'm plainly using something like this::
Do you specifically need to store text files? NumPy's binary storage
functions (numpy.load and save) are faster.
Also, an efficient reader for very simply formatted text is provided
by numpy.fromfile.
Regards
Stéfan
More information about the NumPy-Discussion
mailing list