Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48642 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4976 invoked from network); 4 Jun 2010 05:43:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jun 2010 05:43:47 -0000 X-Host-Fingerprint: 78.142.172.145 gate-g21.inqnet.at Received: from [78.142.172.145] ([78.142.172.145:21225] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/FF-07323-292980C4 for ; Fri, 04 Jun 2010 01:43:46 -0400 Message-ID: <90.FF.07323.292980C4@pb1.pair.com> To: internals@lists.php.net Date: Fri, 04 Jun 2010 07:43:38 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Shredder/3.0.4 MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 78.142.172.145 Subject: Re: [PHP-DEV] performance of the new output api From: mike@php.net (Michael Wallner) On 06/02/2010 10:03 PM, John LeSueur wrote: > On Wed, Jun 2, 2010 at 1:37 PM, Michael Wallner wrote: > >> >> Now the script: >> > ini_set("memory_limit", "2G"); >> >> function mib($b) { >> return $b ? number_format($b/1024/1204, 1, ".", "'") : "?"; >> > > typo: shouldn't this be $b/1024/1024? doh! :) You're right, but it doesn't really change anything in the comparison. Regards, Mike