Re: Script performance and Safari
Re: Script performance and Safari
- Subject: Re: Script performance and Safari
- From: Christopher Stone <email@hidden>
- Date: Sat, 14 Apr 2012 10:37:00 -0500
On Apr 14, 2012, at 10:19, Simon Topliss wrote:
>
> On 14 Apr 2012, at 15:53, Christopher Stone wrote:
>
>> On Apr 14, 2012, at 09:32, Simon Topliss wrote:
>>> Ah, right. Didn't notice that bit.
>>>
>>> Still no divs, mods or tids required:
>>>
>>> tell short date string of (current date) to return text 1 thru -5 of it & text -2 thru -1 of it
>>
>> ______________________________________________________________________
>>
>> The short date string format is dependent upon the localization.
>>
>> Also. Nigel Garvey spent a lot of time optimizing date formats, and the math method is faster. Not a big issue on modern Macs, but there you go.
>
> You didn't post Nigel's method, you posted yours. Yvan pointed out that it seemed over complicated and I agreed with him.
______________________________________________________________________
Hey Simon,
You responded to Yvan's post and said no divs, mods, or tids required.
This of course is true, but I was pointing out that Nigel had spend a lot of time optimizing this sort of thing and that math is faster than text substrings in Applescript.
--
Best Regards,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden