Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28251 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8865 invoked by uid 1010); 5 Mar 2007 22:54:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8850 invoked from network); 5 Mar 2007 22:54:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Mar 2007 22:54:53 -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 129.41.69.185 as permitted sender) X-PHP-List-Original-Sender: brianm@dealnews.com X-Host-Fingerprint: 129.41.69.185 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from [129.41.69.185] ([129.41.69.185:55508] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/67-16561-BBF9CE54 for ; Mon, 05 Mar 2007 17:54:52 -0500 Received: (qmail 26765 invoked from network); 5 Mar 2007 17:54:49 -0500 Received: from unknown (HELO mail.dealnews.com) (10.1.1.7) by -H with (DHE-RSA-AES256-SHA encrypted) SMTP; 5 Mar 2007 17:54:49 -0500 Received: (qmail 25953 invoked from network); 5 Mar 2007 17:54:49 -0500 Received: from unknown (HELO ?10.1.6.4?) (brianm@71.31.236.178) by -H with ESMTPA; 5 Mar 2007 17:54:49 -0500 Message-ID: <45EC9FAF.2080005@dealnews.com> Date: Mon, 05 Mar 2007 16:54:39 -0600 User-Agent: Thunderbird 2.0b2 (Macintosh/20070116) MIME-Version: 1.0 To: Antony Dovgal CC: internals@lists.php.net References: <45EC8CE9.8020807@dealnews.com> <45EC9D1B.6000804@zend.com> In-Reply-To: <45EC9D1B.6000804@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] The way the engine works? From: brianm@dealnews.com (Brian Moon) Antony Dovgal wrote: > Yup, the language stole ~32Kb of your memory and used it to speedup the > allocation of small chunks. Ok, in my attempt to send a sane looking example, I cleaned up the problem. The introduction of $x into the string makes the difference. first growth: 892 second growth: 3,955,068 -- Brian Moon ------------- http://dealnews.com/ It's good to be cheap =)