RE: Why Should I Use Zend Optimizer?

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

 



> 
> In short, Zend Optimise has *nothing* at all to do with 'making dumb  
> programmers code better' I'm afraid.
> 
> Cheers,
> 
> Rich

I'm not completely sure on this, and if it is true I don't have the
links, but I think it does do one thing to "make your code better". 
That is to use pre-increments wherever possible, since the
post-increment requires the parser to store the value first then
increment it (or something to that effect).  But even then it's really
only saving you milliseconds of processing time, which would only make
a beneficial improvement on an enterprise system (million-plus hits). 
Other than that I haven't heard anything else.  It won't clean up a
whole bunch of loops to something more efficient.

In response to your <slight diversion>  YES!  You are TOTALLY correct. 
If you write something that uses a loop inside of a loop instead of
just one loop (while or for) then it's going to be slower... no matter
if it's compiled beforehand or at runtime :)

Ray

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