Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39519 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32039 invoked from network); 31 Jul 2008 22:47:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2008 22:47:16 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:49667] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/F1-21617-0F042984 for ; Thu, 31 Jul 2008 18:47:15 -0400 Received: from localhost (h1149922.serverkompetenz.net [85.214.94.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 7FE6D11DB44; Fri, 1 Aug 2008 00:47:09 +0200 (CEST) Date: Fri, 1 Aug 2008 00:47:06 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <416879664.20080801004706@marcus-boerger.de> To: Stefan Esser CC: PHP Internals List In-Reply-To: <4890CC7A.6060303@sektioneins.de> References: <4890CC7A.6060303@sektioneins.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Switch Table Extension for PHP From: helly@php.net (Marcus Boerger) Hello Stefan, please discuss with RMs when to merge this in. IMO such a nice locale improvment can go in anytime during alpha when RMs approve. marcus Wednesday, July 30, 2008, 10:18:02 PM, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Hi, > for everyone interested in getting the last bit of speed out of his PHP > I created a small extension that overrides the ZEND_CASE opcode and > optimizes its execution. > On the first execution of a switch statement it builds up a jumptable > for all the cases and later execution of the same switch statement is > then performed by directly looking up the jump target within the jumptable. > You can find more information and the download at > http://www.suspekt.org/switchtable/ > I am very interested how it performs with YOUR switch statements. And I > am also very interested if its implementation unexpectedly breaks YOUR > switch statements. > Greeting, > Stefan > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > iEYEARECAAYFAkiQzHoACgkQSuF5XhWr2nh1xwCfbnodynq8pfjuaennWlj+tih6 > PNcAoI8GABX3YwoSMRT/34gLxkdGy1dM > =ULxN > -----END PGP SIGNATURE----- Best regards, Marcus