help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Reading files is slow


From: Ramil G. Sagum
Subject: RE: Reading files is slow
Date: Thu, 19 Sep 2002 02:13:49 +0800

don't read text data as text. treat the file as binary and put it into a
buffer. classifying a file as 'text' adds some processing. (wavread-ing a
10Meg wave file, for example, takes only a few seconds.)


-----Original Message-----
From: Tom Kornack [mailto:address@hidden
Sent: Thursday, 19 September, 2002 01:45 AM
To: address@hidden
Subject: Reading files is slow


I have some 8 MB data files that I want to manipulate in Octave. Once
they're in memory, I can work with them just fine. But reading them in
takes minutes. I'm currently using textread for input because it's so
flexible. So, in all of your collective experience, what is the fastest
way to read data files into memory?

Tom

kornack.com
609-688-9077 (h), 609-258-0702 (w)
Fundamental Symmetries Lab, Princeton University
414C Devereux Avenue, Princeton, New Jersey 08540



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]