Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39488 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34565 invoked from network); 30 Jul 2008 20:57:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jul 2008 20:57:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=brianm@dealnews.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=brianm@dealnews.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain dealnews.com designates 72.5.90.27 as permitted sender) X-PHP-List-Original-Sender: brianm@dealnews.com X-Host-Fingerprint: 72.5.90.27 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from [72.5.90.27] ([72.5.90.27:35081] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0B/55-60483-AC5D0984 for ; Wed, 30 Jul 2008 16:57:46 -0400 Received: (qmail 3759 invoked from network); 30 Jul 2008 20:42:17 -0000 Received: from unknown (HELO mail.dealnews.com) (10.1.10.7) by -H with ESMTPS (DHE-RSA-AES256-SHA encrypted); 30 Jul 2008 20:42:17 -0000 Received: (qmail 9328 invoked from network); 30 Jul 2008 20:42:16 -0000 Received: from h105.248.18.98.static.ip.windstream.net (HELO 100.100.1.10.in-addr.arpa) (brianm@98.18.248.105) by -H with ESMTPA; 30 Jul 2008 20:42:16 -0000 Message-ID: <4890D227.30304@dealnews.com> Date: Wed, 30 Jul 2008 15:42:15 -0500 User-Agent: Thunderbird/3.0a2pre (Macintosh; 2008072900) MIME-Version: 1.0 To: Stefan Esser CC: PHP Internals List References: <4890CC7A.6060303@sektioneins.de> In-Reply-To: <4890CC7A.6060303@sektioneins.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Switch Table Extension for PHP From: brianm@dealnews.com (Brian Moon) Stefan Esser wrote: > http://www.suspekt.org/switchtable/ Neat I hope this works well and can go into the main engine. I did not look to see if there was a licensing issue. We have basically done this in PHP land for Phorum. We had a huge switch in our url creation function. It was the slowest thing in the app. So, we convered it to an array lookup system instead and got lots of performance. We also made a Phorum extension to handle the URL creation for those that need that little extra bump. -- Brian Moon Senior Web Engineer ------------------------------ When you care enough to spend the very least. http://dealnews.com/