Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65806 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65410 invoked from network); 13 Feb 2013 20:50:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2013 20:50:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracle.com designates 156.151.31.81 as permitted sender) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 156.151.31.81 userp1040.oracle.com Received: from [156.151.31.81] ([156.151.31.81:46013] helo=userp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/20-62947-68CFB115 for ; Wed, 13 Feb 2013 15:50:14 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1DKoAcW026341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Feb 2013 20:50:11 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1DKoAtI029048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Feb 2013 20:50:10 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1DKo9Vi012646; Wed, 13 Feb 2013 14:50:10 -0600 Received: from [130.35.70.82] (/130.35.70.82) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 13 Feb 2013 12:50:09 -0800 Message-ID: <511BFC81.8020400@oracle.com> Date: Wed, 13 Feb 2013 12:50:09 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Zeev Suraski CC: PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Source-IP: acsinet22.oracle.com [141.146.126.238] Subject: Re: [PHP-DEV] Zend Optimizer+ Source Code now available From: christopher.jones@oracle.com (Christopher Jones) On 02/13/2013 06:51 AM, Zeev Suraski wrote: > For your browsing pleasure: > > > > https://github.com/zend-dev/ZendOptimizerPlus/ > > > > An initial README with some instructions is available at > http://bit.ly/VSs5KC > > We’ve put it under the PHP license, with the same PHP Group copyright > header as all files in PHP. Great to see. The README covers much of the content (and in more detail) that I previously wanted to see in the RFC. There are some things still missing from the RFC, though: - do you see Optimizer+ being enabled (if not in PECL) or disabled by default, etc. - your email comment to John Carter about Zend Guard decoder - There are still open questions in the RFC; these need to be closed before voting. Comments: - The README gives recommended parameters. Taking that advice at face value, I think these should be default settings. - Should the name reflect the code's main purpose (op-code caching), and allowing a future use of "optimizer" for a more sophisticated optimizer implementation? Or do you see Optimizer+ being the framework for such optimizations? Questions (I haven't dug through the code): - What do CLI processes share? - Is there an architectural reason why the 'embed' embedded SAPI couldn't be supported? (Lack of parent forking??) Chris -- christopher.jones@oracle.com http://twitter.com/ghrd Newly updated, free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html