Re: Appending files
- From: "alanglloyd@xxxxxxx" <alanglloyd@xxxxxxx>
- Date: Sat, 22 Sep 2007 22:47:37 -0700
On 22 Sep, 18:12, "vertuas" <vert...@xxxxxxxxxxxxxxxxx> wrote:
Hi all,
I need my application to append some rather large files, (almost 2 gig
each).
I am currently opening each file into tfilestream objects, on then using
copyfrom function to append one stream to the end if another.
As i am appending all of the file, if there a faster was to do the append.
Get windows to chaneg to filesystem pointer, for example, to make 3 files
appear as one?
If there a faster way to copy the stream than tfilestream.copyfrom? This
takes ages to copy all the data over.
Try using the "COPY <SrcFile1> + <SrcFile2> <DestFile>" command in a
DOS window (if you have one) . I would guess that that might be the
fastest to use as a benchmark to compare with your stream method.
Setting a large TStream.Size to start with may help.
Alan Lloyd
.
- References:
- Appending files
- From: vertuas
- Appending files
- Prev by Date: Re: Appending files
- Next by Date: Do you want to sell runescape gold?welcone to www.sell-runescape-gold.com
- Previous by thread: Re: Appending files
- Next by thread: Do you want to sell runescape gold?welcone to www.sell-runescape-gold.com
- Index(es):
Relevant Pages
|