Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c
| From: | Andi Gutmans | Date: | Mon, 19 Jul 2004 14:33:24 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-2770@lists.php.net to get a copy of this message | ||
Got to run for a few hours.
Where is the message in our sources?
I think it's better to save that if() in the executor because it's highly unlikely that you don't have to allocate those Ts (except for empty functions which we don't care about, right?
Andi
At 03:28 PM 7/19/2004 +0100, Wez Furlong wrote:
Well, it seems like a waste. Checking for 0 args is much more friendly than invoking the allocator and asserting whatever mutex is required to get a memory block that consists solely of the block header and no useful content. If you think its acceptable, then please update the memory manager not to emit warnings about it :) --Wez. On Mon, 19 Jul 2004 07:17:44 -0700, Andi Gutmans <andi@zend.com> wrote: Is this actually a problem? I thought malloc(0) works? Andi