Re: Appending To Large Files vs. Appending To Small Files ?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Vincent.Piattelli@xxxxxxxxx wrote:

Me._logWriter = New StreamWriter(File.Open(Me._path, FileMode.Append,
FileAccess.Write, FileShare.Read))

Will the size of the file at Me._path have any impact on how long it
takes for the StreamWriter to be created and to be written to?

I don't think it would have much impact, unless the hard drive is
getting full and the file is being spread among fragmented free space.

If in doubt, profile.

-- Barry

--
http://barrkel.blogspot.com/
.