J
jwgoerlich
What is the fastest way of writing a Byte array to disk? I have a 512
MB array in memory. I am writing to a 10K RPM drive, and have ample CPU
and RAM. I need to write as much data as possible, as fast as possible.
Currently, I am using the StreamWriter. I am not getting anywhere near
the thru put I would expect. My code is something like:
For i = 0 To (MB.Length - 1)
StreamWriter.Write(MB(i))
StreamWriter.Flush()
Next
Any recommendations on squeezing more performance?
J Wolfgang Goerlich
MB array in memory. I am writing to a 10K RPM drive, and have ample CPU
and RAM. I need to write as much data as possible, as fast as possible.
Currently, I am using the StreamWriter. I am not getting anywhere near
the thru put I would expect. My code is something like:
For i = 0 To (MB.Length - 1)
StreamWriter.Write(MB(i))
StreamWriter.Flush()
Next
Any recommendations on squeezing more performance?
J Wolfgang Goerlich