Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26796 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81041 invoked by uid 1010); 4 Dec 2006 16:41:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81025 invoked from network); 4 Dec 2006 16:41:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2006 16:41:00 -0000 Authentication-Results: pb1.pair.com header.from=pollita@php.net; sender-id=unknown; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=pollita@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 140.211.166.39 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pollita@php.net X-Host-Fingerprint: 140.211.166.39 osu1.php.net Linux 2.4/2.6 Received: from [140.211.166.39] ([140.211.166.39:37783] helo=osu1.php.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/40-12160-A9F44754 for ; Mon, 04 Dec 2006 11:40:58 -0500 X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=mx; d=php.net; h=From:Subject:To:Date; b=o0svAWlGgGRxKN1ORkCQCuSZ7Ky3zpBAwNR9fPOoSesfAdPihq9u6aqBGkyHlMJu eN06RE5vKsymlqwAErPijG/BD+NOOZcsKZl6pcnoVKMYGzqXwowqAdMrEY9Gihaq Authentication-Results: osu1.php.net smtp.user=pollita; auth=pass (LOGIN) X-Host-Fingerprint: 69.12.155.129 unknown Received: from [69.12.155.129] ([69.12.155.129:3238] helo=[172.31.5.145]) by osu1.php.net (ecelerity 2.1.1.11-rc1 r(13363/13364M)) with ESMTPSA (cipher=AES256-SHA) id 45/51-15281-4A054754 for ; Mon, 04 Dec 2006 08:45:24 -0800 Message-ID: <45744F81.4050400@php.net> Date: Mon, 04 Dec 2006 08:40:33 -0800 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Ilia Alshanetsky CC: internals@lists.php.net References: <4573B6BC.1030602@php.net> <69F28E44-016B-4941-9081-0683ADCBF986@prohost.org> In-Reply-To: <69F28E44-016B-4941-9081-0683ADCBF986@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Function call speedup (CV applied to functions) From: pollita@php.net (Sara Golemon) > Looks fairly interesting, I doubt 18% is consistent benefit across the > board > I doubt it very much too. While I made that test to strip out non-fcall overhead, I also made it favor the effect being produced by constantly calling the same function from the same scope. Reality isn't like that. > and when unicode overhead is removed is probably less still. My numbers were based on unicode.semantics=off just FYI... > it does look like a good optimization to make that would certainly make > PHP faster then before. > I suspect optimized class fetches will help several cases too: foo::bar(); foo::baz(foo::BLING); Just not going to bother working on that unless it sounds worth doing to enough people. -Sara