Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26714 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1603 invoked by uid 1010); 25 Nov 2006 11:06:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1587 invoked from network); 25 Nov 2006 11:06:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2006 11:06:05 -0000 Authentication-Results: pb1.pair.com header.from=php_lists@realplain.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php_lists@realplain.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain realplain.com from 69.179.208.43 cause and error) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 69.179.208.43 msa3-mx.centurytel.net Linux 2.4/2.6 Received: from [69.179.208.43] ([69.179.208.43:55828] helo=msa3-mx.centurytel.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/30-32806-97328654 for ; Sat, 25 Nov 2006 06:06:05 -0500 Received: from pc1 (72-161-62-4.dyn.centurytel.net [72.161.62.4]) by msa3-mx.centurytel.net (8.13.6/8.13.6) with SMTP id kAPB5P7W011636; Sat, 25 Nov 2006 05:05:25 -0600 Message-ID: <007201c71081$9c70c410$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> <013601c70a60$666d0f30$0201a8c0@pc1> <455DE59B.1030201@zend.com> Date: Sat, 25 Nov 2006 05:05:25 -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") Hi Antony, Just to let you know, I made a couple minor layout changes to the code, and also switched to the *_alloca() functions if memory needs allocating, which I understand should be faster on systems that support it. (Patch file (v2) is updated of course. :-)) Matt ----- Original Message ----- From: "Antony Dovgal" Sent: Friday, November 17, 2006 > On 11/17/2006 06:52 PM, Matt Wilmas wrote: > > [...] > > http://realplain.com/php/zend_u_strtod-v2.diff > > Ok, this one looks a bit better: > -------------------------------------------------------------------------- ---------- > Platform current | Matt | Tony | New patch by Matt > -------------------------------------------------------------------------- ---------- > Linux intel64 (ICU 3.6, non-ZTS) 104.20 18.93 29.93 13.98 > Linux intel64 (ICU 3.6, ZTS) 106.38 19.78 31.97 14.39 > Linux i386 (ICU 3.6, non-ZTS) 809.21 25.49 59.78 18.76 > Linux i386 (ICU 3.6, ZTS) 708.43 30.22 59.90 18.96 > Linux i386 (ICU 3.4, non-ZTS) 526.71 22.39 -- > Linux i386 (ICU 3.4, ZTS) 435.27 26.20 -- > FreeBSD i386 (ICU 3.6, non-ZTS) -- 20.66 33.47 15.38 > -------------------------------------------------------------------------- ---------- > > -- > Wbr, > Antony Dovgal