Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64076 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43578 invoked from network); 28 Nov 2012 14:58:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2012 14:58:51 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain zend.com does not designate 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:37658] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/D1-30696-8A626B05 for ; Wed, 28 Nov 2012 09:58:49 -0500 Received: by mail-qc0-f170.google.com with SMTP id d42so10905237qca.29 for ; Wed, 28 Nov 2012 06:58:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=W5JXNKIjTSsI8xQfSawJr6TYN5ydhrOM3qDYoQlb6+o=; b=kdmR3jTUDS3WpKDwGc/8wmVtLc1mOJ74ZT3H8sXvPVj6hSn4Hz05kNGRmLeCvCaN8L tLQWpaFRkD5WHc4imAqiSPZHm0o8xNjRgHf2H6dhnWPcoeqaXtMfH/OUQbs21Xr0n8nd yjhcoDMGe4d/hGk4RVsDBDFDQ+KoFlZrWruPK8erm9bc/W2H+DI82bU4xsYrB2dRQYih zPrOY6Dbm4oLOIJyCLhdg0z8qZwyKdtyXBMmk2yrVxZBgSnhRuU/io3CHKWJK/ywnYAR C97SEbBVKBYDKvHv337ML2vbeVfTp/qket4A4zLxtsYHi/59aui4FJ4zrMgasgvDGoau Kj6A== MIME-Version: 1.0 Received: by 10.224.60.6 with SMTP id n6mr20733085qah.62.1354114726191; Wed, 28 Nov 2012 06:58:46 -0800 (PST) Received: by 10.49.74.133 with HTTP; Wed, 28 Nov 2012 06:58:46 -0800 (PST) In-Reply-To: <50B60A8D.2030402@hoa-project.net> References: <50B60A8D.2030402@hoa-project.net> Date: Wed, 28 Nov 2012 17:58:46 +0300 Message-ID: To: ivan.enderlin@hoa-project.net Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf3074d6c43d60ba04cf8f67bf X-Gm-Message-State: ALoCoQnijzkOfMjz+h6j15Q1BlRCE4S+OVVyq6FkC1WWoc+rcrxwdQnupK7ZMO1mc1lTLchP9PjT8G/POo/lM5WfBchAonKv6oFMHd4Nle/7ZBQIR5SiJePhA3YVRVwbAdKxHs5H/ak9 Subject: Re: [PHP-DEV] Generators Revisited From: dmitry@zend.com (Dmitry Stogov) --20cf3074d6c43d60ba04cf8f67bf Content-Type: text/plain; charset=UTF-8 thanks. :) On Wed, Nov 28, 2012 at 4:58 PM, Ivan Enderlin @ Hoa < ivan.enderlin@hoa-project.net> wrote: > Oh, and also : > > s/ calcualated/calculated/ > s/extended_vallue/extended_**value/ > > (always in the UPGRADING file). > > :-) > > > > > 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/ > > --20cf3074d6c43d60ba04cf8f67bf--