Hello all,

For a class project I am programming a basic hidden markov model
project. I need to read a text with with string in it with a total
size of about 5 megabytes. The file loading seems VERY slow...is there
anyway to speed it up? Am I doing something wrong?

 If mfldInputFile <> Nil Then

   txtPath(0).Text = mfldInputFile.AbsolutePath

   mstmInputStream = mfldInputFile.OpenAsTextFile

   While NOT mstmInputStream.EOF

     mstrTemp = Trim(mstmInputStream.ReadLine)

     mstrSequence = mstrSequence + mstrTemp

   Wend

   cHMM.SetSequence(mstrSequence)

 End If

Thanks

Burke
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to