Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80656 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37616 invoked from network); 16 Jan 2015 17:25:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2015 17:25:12 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-wg0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:46293] helo=mail-wg0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/D2-23044-77949B45 for ; Fri, 16 Jan 2015 12:25:12 -0500 Received: by mail-wg0-f54.google.com with SMTP id z12so21697199wgg.13 for ; Fri, 16 Jan 2015 09:25:08 -0800 (PST) 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=GZKnsLlzBRcxS7RblUBhb7uh5wAKePtasQEXLQnXVZE=; b=wBabK6b5aRbfprI72XnYphGTObv+3j+Qwy88FdbZgdDDEwVUjyeaR8SfT2/IpcH2nc RiFXiO+HLOXFkKFaV+t7YEGOnpUuDz2gp42JKbgmdvsyVsuZgWCR0tmY1N2pFYJLxn7t c4NXKQcdKuu8pQwFFDUZg8Kuy8U02um3KMJ9qc7D/pSC+B5B6NKaxmS1w9Mxph5MGl6d uTGZNLjhtd1EnWhEPgX4x38J+8RBb/WggNd0ib++zTPXdzSck2p2kKMXiNGiL5rXUv9o 8X2YpgtRzHxuU4+Vrm4q7fp4ZQLhohzWh/m9PaAKmCBQYwrlu8lylIhukqbI0csSn/K7 xdcg== MIME-Version: 1.0 X-Received: by 10.180.211.2 with SMTP id my2mr8151569wic.3.1421429108764; Fri, 16 Jan 2015 09:25:08 -0800 (PST) Received: by 10.27.10.138 with HTTP; Fri, 16 Jan 2015 09:25:08 -0800 (PST) In-Reply-To: References: <20150116075700.D39C25F7F7@mx.zeyon.net> Date: Fri, 16 Jan 2015 18:25:08 +0100 Message-ID: To: Dmitry Stogov Cc: Xinchen Hui , Nikita Popov , Benjamin Coutu , PHP Internals Content-Type: multipart/alternative; boundary=001a11c37c1819f718050cc841bd Subject: Re: [PHP-DEV] Generating more efficient code for while-loop From: nikita.ppv@gmail.com (Nikita Popov) --001a11c37c1819f718050cc841bd Content-Type: text/plain; charset=UTF-8 On Fri, Jan 16, 2015 at 6:09 PM, Dmitry Stogov wrote: > See the patch for "while" and "for" loops > > https://gist.github.com/dstogov/9cc5767a14f3b88e1275 > > All tests passed. > The patch leads to 2% improvement in number of CPU instructions retired on > bench.php. > Unfortunately, It doesn't make any visible speed difference. > > Anyway, I'm going to commit it on Monday. > Xinchen, Nikita, please verify me. > > Thanks. Dmitry. > Patch looks good to me :) Nikita --001a11c37c1819f718050cc841bd--