comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Efficient way to split an array of strings.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Efficient way to split an array of strings. [message #56812] Thu, 15 November 2007 07:13 Go to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
Wow, I had forgotten (or maybe never knew) that you could feed readf
an array and it would read more than one line...
I just tested it on one read routine I have where the file has a bunch
of header then 8192 integers one per line, then more header, then
another 8192 integers and so on.

Going to the "array readf" was a x140 improvement in speed!!

This is why I read this group, thanks a million.



Cheers,

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: NaN Magic or Why Me?!
Next Topic: version 7

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:08:15 PDT 2025

Total time taken to generate the page: 0.00231 seconds