in reply to Lots of rand()s
There's no need to write it to $rand first. This should be a little bit faster.$results{int(rand(10) + 1)}++;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Lots of rand()s
by David Caughell (Monk) on Mar 09, 2004 at 21:00 UTC |