[Numpy-discussion] Speeding up loadtxt / savetxt

Andreas lists at hilboll.de
Fri Apr 23 04:16:39 EDT 2010


Hi there,

I was wondering if there's a way to speedup loadtxt/savetxt for big 
arrays? So far, I'm plainly using something like this::

    file = open("array.txt","w")
    a = np.loadtxt(file)
    file.close()

However, since my files are pretty big (~200M), that's taking a long 
time... Perhaps there's a way to speed things up?

Thanks a lot for your insight,

Andreas.



More information about the NumPy-Discussion mailing list