Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43397 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76631 invoked from network); 19 Mar 2009 02:16:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2009 02:16:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=php_lists@realplain.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php_lists@realplain.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain realplain.com from 209.151.69.1 cause and error) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 209.151.69.1 liberty.vosn.net Linux 2.4/2.6 Received: from [209.151.69.1] ([209.151.69.1:33641] helo=liberty.vosn.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/62-56035-FDAA1C94 for ; Wed, 18 Mar 2009 21:15:59 -0500 Received: from 72-161-148-24.dyn.centurytel.net ([72.161.148.24]:62905 helo=pc1) by liberty.vosn.net with smtp (Exim 4.69) (envelope-from ) id 1Lk7nX-0005Yc-Gz; Wed, 18 Mar 2009 20:15:55 -0600 Message-ID: <570D833B543A4EB599F982488CDC41E4@pc1> To: , "Dmitry Stogov" Cc: "Lukas Kahwe Smith" , =?iso-8859-1?Q?Johannes_Schl=FCter?= References: <1113CE12226949C2939A31971420991F@pc1> <49C0A7C7.8000804@zend.com> <12E613FAA1C9422B948F00B61AD32366@pc1> <49C134E5.7020706@zend.com> Date: Wed, 18 Mar 2009 21:15:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - liberty.vosn.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - realplain.com Subject: Re: [PATCH] Bug #45877: LONG_MAX/MIN array key as string/int From: php_lists@realplain.com ("Matt Wilmas") Hi again Dmitry, Just wanted to say that I think I can make your code a bit smaller after looking at it closer. Don't quite have enough time to modify and verify it now, but I'll be back later (around the usual time) to let you know either way. :-) - Matt ----- Original Message ----- From: "Dmitry Stogov" Sent: Wednesday, March 18, 2009 > Hi Matt, > > I suppose I fixed the patch. > > Could you please check which patch is better yours or the attached one? > > According to attached benchmark my one is faster for most usual cases, > but may be I forget something again. > > $a["abcdefghij"] 0.130 0.130 > $a["1234567890"] 0.187 0.104 > $a["2147483648"] 0.168 0.142 > $a["0"] 0.116 0.082 > $a["214748364x"] 0.136 0.141 > $a[0] 0.080 0.080 > > Also, do you have other patches which I could look into before RC? > > Thanks. Dmitry.