Re: [PHP3] Performance question From: Sterling Hughes (sterling <email protected>)
Date: 04/30/00

Wizaerd wrote:
>
> What about memory requirements for each of the three functions?
>

again, the difference is negligible. Which of these takes more memory:

for ($i=0; $i<20; $i++) {
        echo $i;
}

or

for ($i=0; $i<30; $i++) {
        echo $i;
}

The second is slower, but there's now real difference in memory usage or
speed of execution.

Sterling

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>