Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26660 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60466 invoked by uid 1010); 17 Nov 2006 15:52:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60451 invoked from network); 17 Nov 2006 15:52:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Nov 2006 15:52:38 -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.142.136.132 cause and error) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 209.142.136.132 msa2-mx.centurytel.net Linux 2.4/2.6 Received: from [209.142.136.132] ([209.142.136.132:34752] helo=msa2-mx.centurytel.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/72-37771-5CADD554 for ; Fri, 17 Nov 2006 10:52:38 -0500 Received: from pc1 (d31-96.rt-bras.wnvl.centurytel.net [69.179.158.96]) by msa2-mx.centurytel.net (8.13.6/8.13.6) with SMTP id kAHFqXM3011391; Fri, 17 Nov 2006 09:52:33 -0600 Message-ID: <013601c70a60$666d0f30$0201a8c0@pc1> To: "php-dev" , "Antony Dovgal" Cc: "Andrei Zmievski" References: <455455D1.3020706@zend.com> <017f01c704b9$5e07f870$0201a8c0@pc1> <45546EDB.2020400@zend.com> <011b01c70721$ca0ec7f0$0201a8c0@pc1> <0e7bb4f7f12e57e899a6c4b26068b93e@gravitonic.com> <455CBA6C.4060801@zend.com> <455DCB94.6010708@zend.com> <011e01c70a5c$c76f0800$0201a8c0@pc1> <455DD406.5040809@zend.com> Date: Fri, 17 Nov 2006 09:52:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Subject: Re: [PHP-DEV] zend_u_strtod() 400% speed up From: php_lists@realplain.com ("Matt Wilmas") Antony, Sure, sorry. :-) I thought the straight code would be easier for you guys to simply copy to a local file or such to test, but I don't really know anything about it. :-P http://realplain.com/php/zend_u_strtod-v2.diff Matt ----- Original Message ----- From: "Antony Dovgal" Sent: Friday, November 17, 2006 > On 11/17/2006 06:26 PM, Matt Wilmas wrote: > > Hi Antony! > > > > Wow, lots of testing ya did there. :-) Nice. But, just wanted to mention > > that "Matt's patch" is the one I did back in Aug. Did you see my last > > message [1] the other day with a new version that only checks for ASCII > > chars, doesn't do conversion from Unicode, etc.? > > Nope, I must have missed it. > > > http://realplain.com/php/zend_u_strtod.c (Untested) > > Could you plz upload (or post) unified diff? Thanks. > > > BTW, I see ICU 3.6 is a lot faster on the "current" code (saw a hint about > > that in the changelog); though still not close to the manual methods, of > > course. > > > > [1] http://news.php.net/php.internals/26538 > > > -- > Wbr, > Antony Dovgal