Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48363 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42684 invoked from network); 20 May 2010 17:34:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 May 2010 17:34:00 -0000 Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 148.87.113.121 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 148.87.113.121 rcsinet10.oracle.com Linux 2.6 Received: from [148.87.113.121] ([148.87.113.121:50906] helo=rcsinet10.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/D1-45208-68275FB4 for ; Thu, 20 May 2010 13:33:59 -0400 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4KHXrqX023614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 May 2010 17:33:54 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4KHXpaV013530; Thu, 20 May 2010 17:33:51 GMT Received: from abhmt018.oracle.com by acsmt353.oracle.com with ESMTP id 254787561274376757; Thu, 20 May 2010 10:32:37 -0700 Received: from [130.35.68.31] (/130.35.68.31) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 20 May 2010 10:32:37 -0700 Message-ID: <4BF571F7.2000400@oracle.com> Date: Thu, 20 May 2010 10:31:35 -0700 User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: Dmitry Stogov CC: PHP Internals References: <4BF24049.90408@zend.com> In-Reply-To: <4BF24049.90408@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Auth-Type: Internal IP X-Source-IP: rcsinet13.oracle.com [148.87.113.125] X-CT-RefId: str=0001.0A090202.4BF57283.007E:SCFMA4539811,ss=1,fgs=0 Subject: Re: [PHP-DEV] Run Time Cache RFC From: christopher.jones@oracle.com (Christopher Jones) Dmitry Stogov wrote: > Hi, > > I'm proposing another optimisation technique implementation for PHP > which makes up to 20% speed up on synthetic tests and up to 8% speed up > on real-life applications. > > The technique is similar to "inline caches" which is very popular in JIT > compilers for object oriented languages. > > http://wiki.php.net/rfc/runtimecache > > The patch breaks binary and source compatibility but it's not hard to > adopt extensions to use it. > > I'm going to commit the patch on next week in case of no objections. > > Thanks. Dmitry. > Hi Dmitry, Can update the RFC to explain the breakage and give the required or suggested best-practice changes for extensions? Thanks, Chris -- Email: christopher.jones@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/ Free PHP Book: http://tinyurl.com/ugpomhome