RE: Sanity checker?

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

 



[snip]
Have you ever seen things like

for ($i = 0; $i < count($some_array); $i++) {
  //do stuff
}

Do you know how slow it is if $some_array gets big compared to 

$array_count = count($some_array);
for ($i = 0; $i < $array_count; $i++) {
  //do stuff
}
[/snip]

The thing is this; there are lots of cases such as the one above that
someone would have to code in order to make the tool worthwhile. It
sounds like a good project for a large group of folks. We have headed
down the road a couple of times on things like this and the problem
always comes down to manpower. Start a project at SF or FM that maybe
does a couple of basic things and hope that it grows from there.

-- 
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