RE: [PHP] Freelance code optimizations
| From: | Chris W. Parker | Date: | Mon, 11 Aug 2003 18:21:33 +0000 |
| Subject: | RE: [PHP] Freelance code optimizations | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-159167@lists.php.net to get a copy of this message | ||
Robert Cummings <mailto:robert@wocmud.org>
on Monday, August 11, 2003 11:11 AM said:
> $i = 0;
> while( $i++ < 10000000 ){}
[snip]
> Notice the large difference when the incrementation occurs within the
> while check itself.
Wow, look at that. I had no idea you could even do that. Now my pages
will be *THAT* much faster. ;)
Thanks.
Chris.