Re: Using do_alloca() instead of emalloc()
| From: | Marcus Boerger | Date: | Sun, 23 Nov 2003 16:13:29 +0000 |
| Subject: | Re: Using do_alloca() instead of emalloc() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5682@lists.php.net to get a copy of this message | ||
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