Re: Persistent zvals

From: Date: Tue, 10 Apr 2012 08:02:27 +0000
Subject: Re: Persistent zvals
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-59628@lists.php.net to get a copy of this message
On Apr 10, 2012, at 12:24 AM, Flavius Aspra <flavius.as@gmail.com> wrote: > On 04/09/2012 10:30 PM, Luke Scott wrote: >> Yeah it would be. He also mentioned something about preloading >> framework classes.. Would like to hear his thoughts on that! > > I also subscribe to the opinion of object persistency not being worth it. In an application > server, you could probably achieve more by keeping the entire phar in RAM. > > Currently, you can also simulate that by putting the phar on a ramdisk or similar. This is just the php code though isn't it? It still needs to be converted to opcodes, then executed. Is it possible to execute the phar in a "ready state" (before request, after init of several objects) and make a snapshot of that and use that for every request? (Shouldn't have to be a phar though.) Luke

« previous php.internals (#59628) next »