|
Like everyone else here mentioned, removing stuff like blank lines and comments causes almost no speedup. The parsing of the code, or rather stripping of newlines and comments BEFORE parsing the code is the fastest of all the compiling and executing processes.
I have to warn about php-accelerator. It is a third party product which does not really work all too well. At least I have experienced a lot of problems with it when we tried using it on a very high-trafficed site.
If you REALLY think you need it, then get Zend Encoder and Zend Optimizer.
To be honest, I doubt many here would really profit from php acceleration, since I _BET_ that 98% of all speed problems for most of you people here come from database and not from php problems.
The best way to speed up scripts is to learn how to code and how to use mysql, and damn few people really know how to do those two. Sadly.
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right."
- Charlie Munger
|