note 95155 deleted from function.mt-rand by danbrown
| From: | danbrown@php.net | Date: | Tue, 15 Dec 2009 20:51:07 +0000 |
| Subject: | note 95155 deleted from function.mt-rand by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164023@lists.php.net to get a copy of this message | ||
Note Submitter: nate at ruggfamily dot com
----
@geompse
On my benchmarks, mt_rand() is usually slightly faster than rand(). I tested this on 5.2.9 and
5.3.0 on Windows and 5.2.11 on Linux. But either way, the manual seems to be misleading when it
states that the mt_rand() random number generator will generate numbers four times faster than
rand().