Re: Read large ascii file quickly [message #74287 is a reply to message #74283] |
Fri, 07 January 2011 07:15   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
edward.s.meinel@aero.org writes:
> You could try all of the above suggestions; you could even use
> READ_ASCII. But, there is no two ways about it -- reading ascii files
> is slow. Always has been, always will be.
Well, I don't know about that. Reading ill-formed ASCII
files is slow, *because* you have to do it in a loop,
as READ_ASCII does. But, if you have well-formed
ASCII input (usually this means written with some kind
of format statement), I've never found IDL to be slow reading it.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|