[phpa] Re: Dynamic includes?

> > I'm wondering how PHP Accelerator handles includes that are run-time
> > selected?
>
>Runtime includes should be no problem. PHPA just reacts to what the 
>internal
>compiler is normally asked to do. In fact it becomes the PHP compiler,
>intercepting all requests for scripts. If it can it will return the 
>compiled
>code from the cache, bypassing the read/parse/compile step. If not then it
>delegates the request to the standard compiler for processing in the usual
>way.
>
>So code remains entirely as dynamic, or not, as it is without PHPA
>installed.

Hmm OK I'll refine my question.. how "acceleratable" is this kind of code? 
Or do runtime-selected includes basically defeat the compiled-code cache 
mechanism?  Ie. how does the accelerator determine whether code needs to be 
recompiled or not? (Are there any rules-of-thumb for producing acceleration 
friendly code?)

I'm guessing performance might be an issue and I'm willing to look at 
alternative implementations.  Any thoughts are appreciated.
Rob



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: