Re: Smart strings & memory allocation
| From: | Stanislav Malyshev | Date: | Wed, 18 Jun 2003 14:23:11 +0000 |
| Subject: | Re: Smart strings & memory allocation | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2376@lists.php.net to get a copy of this message | ||
SS>> 5. locking up memory in PHP and asserting that you basically
SS>> would like to reroute malloc to go through PHP's emalloc
SS>> does not sound reasonable to me.
That's not even close to what I propose. I don't want mallocs to go
thgough emalloc. Anyway, most of allocs in engine are emallocs anyway,
and there is a very good reasons for that, outside of the discussion. I
feel safe to suppose we are not going to discuss the need of emalloc and
its memory cache here - I am not interested in this part anyway. What I
wanted to check is if there may be improvement if _some_ allocations in
_some_ parts of the engine would be done differently.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109