Date: 04/30/00
- Next message: Sterling Hughes: "Re: [PHP3] checking wether a cookie exists or not"
- Previous message: Wizaerd: "RE: [PHP3] Performance question"
- In reply to: Wizaerd: "RE: [PHP3] Performance question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Sterling Hughes: "Re: [PHP3] checking wether a cookie exists or not"
- Previous message: Wizaerd: "RE: [PHP3] Performance question"
- In reply to: Wizaerd: "RE: [PHP3] Performance question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

