Jesse Sng wrote:
I wasn't talking about AppleScript, but AppleEvents. These are far simpler and much faster to send/receive and decode than AS.

6 to 10 per second is probably not a problem for AppleEvents....

Yes, AE is MUCH faster than AS, but I wonder how they benchmark against checking for the existence of a file. One the one hand, the general rule of thumb is that any time you touch the disk you're slowing things down, but on the other hand checking the existence of a file will usually be working in the OS' cache after the first request, and even AE has quite a few layers of obverhead.

Checking the existence of a file benchmarks here at 0.0165 ms on a 1GHz PB G4, running the second script I posted at <http://lists.runrev.com/pipermail/use-revolution/2006-December/091219.html>.

Anyone have time to run a comparative benchmark?

--
 Richard Gaskin
 Fourth World Media Corporation
 ___________________________________________________________
 [EMAIL PROTECTED]       http://www.FourthWorld.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to