Wouter van Vliet <mailto:[EMAIL PROTECTED]>
on Wednesday, November 05, 2003 5:06 PM said:
> * Unset when not used anymore
I don't do this enough.
One thing you can do to make loops faster is the following: (yes I've
posted this in the past!!)
Unoptimized:
$upperlimit = 100;
for($i = 0;$i < $upperlimit; $++)
{
// your stuff
}
Optimized:
$upperlimit = 100;
$i = -1;
while(++$i < $upperlimit)
{
// your stuff
}
Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php