Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5682 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97332 invoked by uid 1010); 23 Nov 2003 16:13:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97288 invoked from network); 23 Nov 2003 16:13:04 -0000 Received: from unknown (HELO shiva.mind.de) (212.42.230.204) by pb1.pair.com with SMTP; 23 Nov 2003 16:13:04 -0000 Received: from trillian.mshome.net (p508EA138.dip.t-dialin.net [80.142.161.56]) by shiva.mind.de (Postfix) with ESMTP id 82AEC97B64; Sun, 23 Nov 2003 17:12:57 +0100 (CET) Date: Sun, 23 Nov 2003 17:13:29 +0100 X-Mailer: The Bat! (v2.00) Educational Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <139122793938.20031123171329@marcus-boerger.de> To: Andi Gutmans Cc: Timm Friebe , internals@lists.php.net In-Reply-To: <5.1.0.14.2.20031123145521.03188410@127.0.0.1> References: <5.1.0.14.2.20031120114209.0501bb18@127.0.0.1> <5.1.0.14.2.20031120114209.0501bb18@127.0.0.1> <5.1.0.14.2.20031123145521.03188410@127.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Using do_alloca() instead of emalloc() From: helly@php.net (Marcus Boerger) Hello Andi, Sunday, November 23, 2003, 1:56:20 PM, you wrote: > Commited thanks. > Marcus, what we meant was that you shouldn't use do_alloca() in the engine > except for in the cases I mentioned, and possibly cases where the > allocations would be quite large. In the case of reflection API the > allocations are small *and* the function returns right away, thus not > keeping stuff on the stack for too long. Me has a big 'aha' effect :-) -- Best regards, Marcus mailto:helly@php.net