[PHP-DEV] compiled modules VS. code in php

2001-11-19 Thread colin mcdonald
Hi, I apologize in advance if this is not the place to ask. I just figured, I'd get a better answer from this group. Is there a performance increase by compiling your code into php (either dynamic or static) as opposed to writing complex code in php. Note: this bit of code would be used by

Re: [PHP-DEV] compiled modules VS. code in php

2001-11-19 Thread Zeev Suraski
Generally, a perfect C implementation will always be quicker than a PHP implementation, because the scripting engine has its overhead. However, whether or not you write perfect C code is a different question :) Zeev At 16:51 19/11/2001, colin mcdonald wrote: Hi, I apologize in advance if

Re: [PHP-DEV] compiled modules VS. code in php

2001-11-19 Thread jimmy elab
Zeev Suraski wrote: Generally, a perfect C implementation will always be quicker than a PHP implementation, because the scripting engine has its overhead. It's my impression that an average PHP script will run faster on a heavily loaded apache server than a compiled executable will get