Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59635 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51465 invoked from network); 10 Apr 2012 09:51:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Apr 2012 09:51:38 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:50701] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/E1-41114-8A2048F4 for ; Tue, 10 Apr 2012 05:51:37 -0400 Received: by ghbg2 with SMTP id g2so2528855ghb.29 for ; Tue, 10 Apr 2012 02:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uKSSkp3QdMzgh+WSQib0XL1dXNJzmnnzYr2EzzapnaI=; b=dRz8052WmFNxwqVzyaeqZnB9rvYQ1t7zr3OWiseqr1v9CMyE/9WgCAHrYtHvQ5GJab Xh5Z9rz5+uLxo11Gsb8ohbuQ7sDw5E129yzf0NPd/KjUKxJoLm1grZ5xAsPchUGjDr58 q4AK7XcM1AOoaqqRHoh7G7eLUdweQuU94vydUMcIOrJsQyS3aeSnoCCWOLZWnK6nY6i0 2OoLxsBHOzLoj9wiyVZgVqy7KkAhJmX5sbIt5s/pp0KDUfa4CNu7j0ZbAwh+NM8mndAY graa6ldHCXWyAbvWx4kSmo7rSuih4dmvD0muv4mrriKeFL2Hx/K/ObTVXaFN56kXA7Ni Tjbg== MIME-Version: 1.0 Received: by 10.236.184.170 with SMTP id s30mr8727168yhm.58.1334051494563; Tue, 10 Apr 2012 02:51:34 -0700 (PDT) Received: by 10.147.168.16 with HTTP; Tue, 10 Apr 2012 02:51:34 -0700 (PDT) In-Reply-To: <4F83E02F.8030902@php.net> References: <11343239.3338.1333757773882.JavaMail.mobile-sync@iakr3> <2087324446797252296@unknownmsgid> <4F82F6E9.7050900@php.net> <1366176333732756257@unknownmsgid> <4F83E02F.8030902@php.net> Date: Tue, 10 Apr 2012 11:51:34 +0200 Message-ID: To: flavius@php.net Cc: Luke Scott , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Persistent zvals From: pierre.php@gmail.com (Pierre Joye) hi, On Tue, Apr 10, 2012 at 9:24 AM, Flavius Aspra wrote: > 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. That's unrelated. Also having the phar in RAM is also not that useful as it is exactly what an opcode cache does, while keeping the parsed ("compiled") code in memory cache. Pre instantiated instances mean than a given app won't have to do all the include foo;+ new foo(); As it is somehow expensive, relative the the footprint of a given framework core. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org