Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Misc > Re: Faster meth...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 5990 of 6155
Post > Topic >>

Re: Faster method needed - reading text files stored on local network

by Hans-Peter Diettrich <DrDiettrich1@[EMAIL PROTECTED] > Feb 21, 2008 at 09:28 PM

fokrogh@[EMAIL PROTECTED]
 wrote:

> Unfortunately, this code works VERY slow. However, reading files from
> CDROM works very fast.

When your network is that slow, and your files are big, you better read 
only the begin of the file.

   fileStream.BlockRead(...);
   fileData.LoadFromStream(fileStream);
   if fileData.count < 6 then ... //read more

DoDi
 




 6 Posts in Topic:
Faster method needed - reading text files stored on local networ
fokrogh@[EMAIL PROTECTED]  2008-02-21 05:52:49 
Re: Faster method needed - reading text files stored on local ne
Anton <anton.txt@[EMAI  2008-02-21 14:50:43 
Re: Faster method needed - reading text files stored on local ne
Anton <anton.txt@[EMAI  2008-02-21 19:30:06 
Re: Faster method needed - reading text files stored on local ne
Hans-Peter Diettrich <  2008-02-21 21:28:22 
Re: Faster method needed - reading text files stored on local ne
Rob Kennedy <me3@[EMAI  2008-02-21 19:07:55 
Re: Faster method needed - reading text files stored on local ne
Marco van de Voort <ma  2008-02-22 10:14:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 10:32:36 CDT 2008.