Arnold Daniels' Blog: Improve performace: check your loops
Arnold Daniels has a suggestion for developers out there to help improve the performance of their applications - check your loops.
So you have a script which is not performing the way you want to. The first thing you should do it try to find out what the problem is. There are some tools out there that can help you.
He mentions the profiler in Zend Studio as well as the one in XDebug. If you can't install those, however, he has another suggestion - FirePHP (a tool that can help time execution times in a simple and easy to include way.
With tools in hand, he offers a few suggestions as to what to check for and do in your applications:
Get the data ready before going into the loop
Don't do things in the loop, you can also do outside it
In a return to the public stage, John Edwards has confirmed plans to talk politics a month after admitting to an extramarital affair. But his wife won't be at his side.
AFP - Australian police have cleared an Indian doctor of involvement in failed bomb attacks in Britain last year after a bungled 14-month probe that is now the subject of a judicial inquiry.
Reuters - Personal income tumbled unexpectedly
in July and inflation-adjusted spending shrank as government
economic stimulus waned, but consumer spirits rose this month,
a hint the economy may muddle through its woes.