Re: Random Numbers fasters than the osax
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.