Re: apc
| From: | Rasmus Lerdorf | Date: | Mon, 14 Feb 2005 19:29:59 +0000 |
| Subject: | Re: apc | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1993@lists.php.net to get a copy of this message | ||
val khokhlov wrote:
Hello,It's the object handling stuff that is the tricky part, not managing the opcodes. But yes, I can ses bcompiler and apc perhaps sharing a bit more code than they do now. -Rasmusi have an idea concerning the apc cache it's not working with php5.x due to changes in zend engine. butbcompiler extension (which was originally based upon apc) is working now with both php5.0 and php5.1 (including new zend execute mechanism).features bcompiler can provide: serializing zend opcodes for thescript code, script functions and script classes; and deserializing them into structures suitable for zend_execute()features that can be taken from current apc: caching and managingthe cache, as well as opcodes optimizationi believe that it wouldn't be a hard task to co-operate. now i'mwriting bytecodes into a php_stream, but i can also write them to memory. and i hope that it wouldn't be a problem to drop the current apc copying stuff and replace it with serializing/deserializing calls