• 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: Random Numbers fasters than the osax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random Numbers fasters than the osax


  • Subject: Re: Random Numbers fasters than the osax
  • From: James Robinson <email@hidden>
  • Date: Wed, 27 Mar 2002 16:18:09 -0600 (CST)

On Wed, 27 Mar 2002, Michael Sullivan wrote:

> I can probably come up with decent hash functions by digging
> through some of my old algorithms books, but the only good changing
> number I can think to seed it with is ticks, which is another osax --
> and to get real random numbers I'd need to reseed every time, no?

No. Seeding every time will make your numbers *less* random.

You only have to seed a random number generator once.

--
James
_______________________________________________
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.

References: 
 >Random Numbers fasters than the osax (From: email@hidden (Michael Sullivan))

  • Prev by Date: scriptable Mail.app examples
  • Next by Date: AppleScript Pro seminars
  • Previous by thread: Random Numbers fasters than the osax
  • Next by thread: Re: Random Numbers fasters than the osax
  • Index(es):
    • Date
    • Thread