Concatenating files

Howard Bornstein bornstein at designeq.com
Mon Jun 3 12:19:00 EDT 2002


>This is the way I join files on a Mac
>
>I Download all the files into a folder. I number the files 1,2 etc.
>I get the list of the files in the folder and run a repeat loop.
>
<snip>
>
>I do not read the files into rev just append them to a newfile
>3 or 4 file about a 1mb each takes about a second

This is exactly what I was doing. I don't want to beat a dead horse 
because I've gotten this to work with open/read/write but I'm wondering 
about Geoff's suggestion that URL get/put might slow down beause RR has 
to parse the file to determine where to append to. The case where I was 
slowing WAY down was in joining about 100 files of 1MB each. By the 20th 
file it was taking *minutes* to append each file segment.

If you get a chance to use your script with large number of big segments, 
I'd be interested to see if you continue to get good performance.

Howard Bornstein
____________________
D E S I G N  E Q
www.designeq.com



More information about the use-livecode mailing list