Re: apc

From: 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,
       i have an idea concerning the apc cache
       it's not working with php5.x due to changes in zend engine. but
bcompiler 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 the
script 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 managing
the cache, as well as opcodes optimization
       i believe that it wouldn't be a hard task to co-operate. now i'm
writing 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
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. -Rasmus

« previous php.pecl.dev (#1993) next »