View Single Post
Old Jul 22nd, 2004, 11:59 PM   #2
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
Telling you how to optimize the code unfortunatly is not an easy thing to do...

first thing you need to find out is if your scripting system has the Zend Optimizer installed, if it does, then do not worry about it.. the optimizer will probably optimize enough automatically such that you do not need to worry.

Aside from that, professionals struggle for a great part of their career to figure out how to best optimize a system, there are many factors in which one takes into account to do this... and an incredible amount of statistics (even if you do not realize it).

It could take a while to optimize a small piece of code like that if I am not sure exactly what application it has... and even then, still a fair bit of work.
__________________
Clifford Matthew Roche <geek@cliffordroche.com>
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote