Re: for loops performance
| From: | Aidan Lister | Date: | Sun, 22 Aug 2004 03:56:32 +0000 |
| Subject: | Re: for loops performance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194408@lists.php.net to get a copy of this message | ||
Hi Tadas,
PHP5 has very optimised code for loops, try upgrading and tell us how it
goes!
Also, if it's applicable, a plain "foreach" loop is actually faster.
Kind Regards,
Aidan
"Xongoo!Com: Central Unit" <info@xongoo.com> wrote in message
news:01c501c4879a$56512b90$0100a8c0@ARIZONA...
> Holla,
>
> Maybe someone knows how to improve for loops
> performance? When generating 1000's of pages, it
> oads in 10-20 seconds. Maybe there is some
> solution I don't know about?
>
> Thanks!
>
> --
> Tadas Talaikis
> info@xongoo.com
> http://www.xongoo.com