Loading large files

  • Thread starter Thread starter Gregor Wind
  • Start date Start date
G

Gregor Wind

Hello all,

I'm trying to make a 3D transformation with image data. For the 3rd 1 D
transformation I have to jump in a 12Gbyte file, to get the data for the
transformation. The jumpimg in the file cost a lot of time. I am doing the
filehandling with help of the filestream and binaryreader class in C#. Is
there an other (faster) way existing, to read the data out of the file?

Thanks in advance,

regards

Gregor
 
Gregor,

You might get faster performance by using just the FileStream, and
converting the items in the list yourself.

When using the BinaryReader, it might be buffering information. You
should make sure that your stream is set to the position you want to begin
reading from before you pass it to the BinaryReader.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top