Do shell script "date" vs current date
Do shell script "date" vs current date
- Subject: Do shell script "date" vs current date
- From: bill <email@hidden>
- Date: Mon, 11 Mar 2002 03:14:53 +0800
Hello,
Yesterday I tried to make a time stamp by do shell script 3date2, found that
the speed is quite slow, compare to current date, below is the test:
set t1 to current date
repeat 20000 times
current date
end repeat
set t2 to current date
repeat 100 times
do shell script "date"
end repeat
set t3 to current date
{t2 - t1, t3 - t2}
-- {10, 11}
While both current date and do shell script are in the standard addition,
any idea about the speed difference?
TIA
Bill :(
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.