Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46680 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15952 invoked from network); 13 Jan 2010 11:34:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2010 11:34:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.12 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.12 lo.gmane.org Linux 2.6 Received: from [80.91.229.12] ([80.91.229.12:60430] helo=lo.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/58-00773-3BFAD4B4 for ; Wed, 13 Jan 2010 06:34:13 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NV1UB-0004Le-Px for internals@lists.php.net; Wed, 13 Jan 2010 12:34:03 +0100 Received: from p5b375223.dip.t-dialin.net ([91.55.82.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2010 12:34:03 +0100 Received: from sb by p5b375223.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2010 12:34:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Wed, 13 Jan 2010 12:33:44 +0100 Lines: 13 Message-ID: References: <4B4DABED.4060202@easyflirt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p5b375223.dip.t-dialin.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 In-Reply-To: <4B4DABED.4060202@easyflirt.com> Sender: news Subject: Re: [PHP-DEV] About optimization From: sb@sebastian-bergmann.de (Sebastian Bergmann) Am 13.01.2010 12:18, schrieb mathieu.suen: > I would like to know why the opcode is not optimized. Because any optimization, even very simple ones, impose a performance penalty in the default execution model of PHP which does not use a bytecode cache. Only when the bytecode is not regenerated for each execution does it make sense to invest for time for the then one-time compilation. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/