• 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: Slow code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow code


  • Subject: Re: Slow code
  • From: "Nigel Garvey" <email@hidden>
  • Date: Wed, 13 Sep 2017 16:15:35 +0100

Shane Stanley wrote on Wed, 13 Sep 2017 22:48:16 +1000:

>On 13 Sep 2017, at 7:48 pm, Nigel Garvey <email@hidden>
wrote:
>>
>> On my machine, the codes are only reproduceable if the random number
>> seed integer is restricted to nine digits or fewer.
>
>I suspect you can go a bit further than that:
>
>random number with seed 2.147483647E+9

Yes indeed. Anywhere in the AppleScript integer range in fact: from
-2.147483648E+9 to 2.147483647E+9 — with the exception of 0. But nine
digits is a good rule of thumb (!) if the number's to be built from a
fixed number of digit characters as in Brian's handler.

NG
 _______________________________________________
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

  • Prev by Date: Re: Slow code
  • Next by Date: Tearing my bloody hair out.
  • Previous by thread: Re: Slow code
  • Next by thread: Saving an encrypted PDF in Word 2016
  • Index(es):
    • Date
    • Thread