• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script performance and Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Script performance and Safari (From: Mark Ratledge <email@hidden>)
 >Re: Script performance and Safari (From: Christopher Stone <email@hidden>)
 >Re: Script performance and Safari (From: Christopher Stone <email@hidden>)
 >Re: Script performance and Safari (From: KOENIG Yvan <email@hidden>)
 >Re: Script performance and Safari (From: Simon Topliss <email@hidden>)
 >Re: Script performance and Safari (From: KOENIG Yvan <email@hidden>)
 >Re: Script performance and Safari (From: Simon Topliss <email@hidden>)
 >Re: Script performance and Safari (From: Christopher Stone <email@hidden>)
 >Re: Script performance and Safari (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: Script performance and Safari
  • Next by Date: Re: AppleScript-Users Digest, Vol 9, Issue 159
  • Previous by thread: Re: Script performance and Safari
  • Next by thread: Re: Script performance and Safari
  • Index(es):
    • Date
    • Thread