note 45500 added to function.mt-rand
| From: | russatgarrettdotcodotuk at osu1 dot php dot net | Date: | Thu, 09 Sep 2004 08:50:02 +0000 |
| Subject: | note 45500 added to function.mt-rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-76282@lists.php.net to get a copy of this message | ||
That's *up to* four times faster. Depending on how rand() is implemented in your libc. The
point is that mt_rand() has known performance characteristics, wheras rand() doesn't because it
varies from system to system.
----
Manual Page -- http://www.php.net/manual/en/function.mt-rand.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45500
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45500&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45500&report=yes
Search -- http://master.php.net/manage/user-notes.php