Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64072 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32797 invoked from network); 28 Nov 2012 12:56:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2012 12:56:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=ivan.enderlin@hoa-project.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ivan.enderlin@hoa-project.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hoa-project.net from 95.130.12.24 cause and error) X-PHP-List-Original-Sender: ivan.enderlin@hoa-project.net X-Host-Fingerprint: 95.130.12.24 host1.trois-doubles.net Linux 2.6 Received: from [95.130.12.24] ([95.130.12.24:55663] helo=host1.trois-doubles.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/20-30696-21A06B05 for ; Wed, 28 Nov 2012 07:56:51 -0500 Received: from Hwhost2.local (138-19.203-62.cust.bluewin.ch [62.203.19.138]) by host1.trois-doubles.net (Postfix) with ESMTPSA id 54EA72010CE for ; Wed, 28 Nov 2012 13:56:47 +0100 (CET) Message-ID: <50B60A10.9040706@hoa-project.net> Date: Wed, 28 Nov 2012 13:56:48 +0100 Reply-To: ivan.enderlin@hoa-project.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) Gecko/19.0 Thunderbird/19.0a2 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------010708070304010309080700" Subject: Re: [PHP-DEV] Generators Revisited From: ivan.enderlin@hoa-project.net ("Ivan Enderlin @ Hoa") --------------010708070304010309080700 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Dmitry, s/ informatin/information in the UPGRADING file. Best regards. On 28/11/12 11:57, Dmitry Stogov wrote: > Hi > > I've tried to review the generators related changes made in PHP-5.5 and > improve them from both consistency and performance points of view. > The patch also makes a small performance improvement to PHP-5.5 in general, > however, it changes some ZE internals that can be used by > some extension (e.g. XDebug). > > You can find the list of changes in the UPGRADING file. > > http://pastebin.com/AT0SQhAH > > Please, review the patch and test it with your custom extensions. > > I would like to commit it on Friday morning. Objections? > > I also have some additional proposals: > > 1) EX(Ts) access optimization. With this patch it must be possible to > access temporary variables using "execute_data" as the base pointer. > "execute_data.Ts" might be removed at all. In general the same optimization > might be done for EX(CVs) as well. > > 2) May be it makes sense to forbid return/yield usage in "finally" blocks > using compile time error. Their behaviour is really unclear. > > Any thoughts? > > Thanks. Dmitry. > -- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/ --------------010708070304010309080700--