I'll just write a copyfile function in LC then. That should be near-C speed, assuming open/read/write are implemented close to the os.
Thanks, Maarten On Friday, April 8, 2011, Mark Schonewille <[email protected]> wrote: > Hi Maarten, > > Yes, it is slow, because the underlying AppleScript needs to be compiled > every time it is used. For big files, it might be useful, but if you have to > copy many small files, it is a disaster. The safest and quickes option is > probably to use the cp shell command. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 8 apr 2011, at 17:38, Maarten Koopmans wrote: > >> Hi, >> >> I just started using revCopyFile, and well, on my Mac it felt..... slow..... >> Is that normal? Any faster way to do it - or just write my own in2out file >> copy? >> >> --Maarten > > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
