Re: Appending To Large Files vs. Appending To Small Files ?
- From: Barry Kelly <barry.j.kelly@xxxxxxxxx>
- Date: Wed, 19 Jul 2006 18:57:27 +0100
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/
.
- References:
- Appending To Large Files vs. Appending To Small Files ?
- From: Vincent . Piattelli
- Appending To Large Files vs. Appending To Small Files ?
- Prev by Date: Appending To Large Files vs. Appending To Small Files ?
- Next by Date: Profiling and inlining
- Previous by thread: Appending To Large Files vs. Appending To Small Files ?
- Next by thread: Profiling and inlining
- Index(es):