Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43885 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2632 invoked from network); 11 May 2009 18:47:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2009 18:47:45 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.29 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 74.125.46.29 yw-out-2324.google.com Received: from [74.125.46.29] ([74.125.46.29:8418] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/6F-21821-0D2780A4 for ; Mon, 11 May 2009 14:47:44 -0400 Received: by yw-out-2324.google.com with SMTP id 3so1739759ywj.83 for ; Mon, 11 May 2009 11:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QO7FWam0uMWjXtrvpO9S8mZwT+9pinGzd+5SNqhyhhg=; b=q3kUbpL/sQkUgJx2tL5hVydksg+OO38s5fZ9RLQlPzGViTTzsaH60BnB5QMdEl7wxD zRB6N0GvQf2QgNm1983RBW0cgKq3MLmMDuOt2doCacqS2yH3fDOCM5TzagblXq1XO+Ke jv+aypWcfNU5HYUQDKM7gKVtdGq2NaP3vKUk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DmW2nZDPBXoCKvV9a89s6e90ZHq0hN++AsEXGdjbj3ZYa1skWkggg/lutw6+dbNKCM lr0pZJPFgBUsUPWW5EZHoLVivd3HKVx2UXgh9OZWZQtFoNGDF6ZHloCXI0mYtGKj77Ox B32gNOE0EEpB/cbjBlTtRqCXhm0kqFrXpBvr0= MIME-Version: 1.0 Received: by 10.100.141.15 with SMTP id o15mr16423875and.20.1242067661563; Mon, 11 May 2009 11:47:41 -0700 (PDT) In-Reply-To: <497872B8.60807@zend.com> References: <155749706.20090117211737@marcus-boerger.de> <497872B8.60807@zend.com> Date: Mon, 11 May 2009 15:47:41 -0300 Message-ID: To: Dmitry Stogov Cc: Marcus Boerger , Timm Friebe , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Method call improvements From: guilhermeblanco@gmail.com (Guilherme Blanco) Hi guys, What's the status on this one?! It's an important optimization that should be considered. Save more than a million method calls on a framework does not worth? None gave a final word on this subject. I could not see this commited in 5.3 neither in HEAD. So...can someone notify me about the status of this??? Cheers, On Thu, Jan 22, 2009 at 10:20 AM, Dmitry Stogov wrote: > > Marcus Boerger wrote: > >> Aren't we able to bind these at least partially to the function call >> opcode, in case we know they are constant? If all is constsnt we could >> even store the whole lookup in the opcode. Well you'd have to convince >> Zend to do that because os far they have always been against this >> approach. > > We can't modify opcode it self as it'll break opcode caches. > > However we can introduce some indirect table associated with op_array, wh= ich > can be used to implement inline caches without direct opcode modification > (in the same way as IS_CV variables work). There are a lot of papers abou= t > polymorphic inline caches (e.g. > http://research.sun.com/self/papers/pics.html) which we probably should u= se > to not to invite bicycle. > > Thanks. Dmitry. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Guilherme Blanco - Web Developer CBC - Certified Bindows Consultant Cell Phone: +55 (16) 9215-8480 MSN: guilhermeblanco@hotmail.com URL: http://blog.bisna.com S=C3=A3o Paulo - SP/Brazil