RE: [PHP] Sanity checker?
| From: | Jay Blanchard | Date: | Thu, 04 May 2006 19:44:28 +0000 |
| Subject: | RE: [PHP] Sanity checker? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-235562@lists.php.net to get a copy of this message | ||
[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.