A faster way to read Files?

BlitzMax Forums/BlitzMax Beginners Area/A faster way to read Files?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Mhhh, loading Data that way:

Local file=OpenFile(GeoDatpath$)
While Not Eof(file)
LineofData$=ReadLine(file)
Wend
CloseStream File

took me around 2-3 minutes.

If i open the File with an MS Editor it tooks around 3 secs (!).

As more lines BMax reads, as slower it gets.
How would you get acces to a large chunk of Data?
Data are simple x,y,z coords
-1.000000,1.000000,2.00000
-1.000000,1.000000,2.00000

Not sure how ReadLine works.
Would it be faster to read it from memory (which means that porting the file on HD to a memory bank should be faster then 3 minutes)?
Any suggestions?