Re: New zend_compile.c to solve all of the duplicate function problems
| From: | Zeev Suraski | Date: | Fri, 19 Oct 2001 16:54:43 +0000 |
| Subject: | Re: New zend_compile.c to solve all of the duplicate function problems | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68426@lists.php.net to get a copy of this message | ||
At 16:33 19-10-01, Daniel Beckham wrote:
The reason it works inside of an if/endif is because the code is never pre-compiled and only executed during run time. For large code libraries, like we have here at our office, this would cause a performance decrease.The code is precompiled alright. It's just compiled into slightly worse intermediate code, because no compile-time binding can be done. I don't expect the difference to be more than a few percent away, and altogether, it may not be noticeable at all. Zeev