On 9/2/11, Walter Bright <[email protected]> wrote:
> On Windows, we should just stick with the Windows CopyFile function:
>
> http://msdn.microsoft.com/en-us/library/aa363851(v=vs.85).aspx
>
> And let the MS guys do their thing. Presumably they will do what works best
> on
> Windows.
>
I've given OP's code a few test runs but I just get inconsistent
results. Sometimes the async version is twice as fast, other times a
simple call via system("copy file1 file2") is faster.
Anyway, I'm assuming the MS devs optimized copying beyond the little
snippet we have here.. :p