[Numpy-discussion] Speeding up loadtxt / savetxt

Stéfan van der Walt stefan@sun.ac...
Tue Apr 27 09:14:01 CDT 2010

Hi Andreas

On 23 April 2010 10:16, Andreas <lists@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.


More information about the NumPy-Discussion mailing list