Re: how to make for statement run faster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I have a program where I process more that 5000 list of 100 data at  time
> but it very slow due to many  *for statement*s. how you make it run faster

code for statements to use a variable or contant for testing in every
iteration like below
for ($i = 0; $i < 100; $i++) {}

also try to optimize the operations inside the for loop.
or maybe better to post snippets.

Virgil
http://www.jampmark.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux