revCopyFile

Bob Sneidar bobs at twft.com
Fri Mar 23 18:58:12 EDT 2012


Write verification? Maybe LC's low level file functions do not verify, whereas the shell command does. 

Bob


On Mar 23, 2012, at 3:24 PM, Geoff Canyon wrote:

> It is stunning to me that this is faster than using a shell command. I did
> the same test as before (about thirty files, about 70k each) and copying
> them by using binary reads/writes took about one-third the time of using
> the shell command. I thought it might be overhead with calling shell, but I
> ran it on a single 50MB file, and the binary read/write method was better
> than twice as fast there as well. What *possible* overhead could there be
> in a shell command that would make it better than twice as slow as
> reading/writing the file 16kb at a time?





More information about the use-livecode mailing list