PL>> How about including a malloc() implementation of your own?  Doug
PL>> Lea's dmalloc comes to mind.  That way, you should be able to get a
PL>> much higher level of control over how it allocates small blocks
PL>> (which are indeed very common in almost all computer programs). 

In fact, that was initial though behind all my tests - to see how many 
small blocks PHP allocates, what are these small blocks and how well they 
are cached. If anybody is interested in working or it or has suggestions 
about that - I can share my thoughts.
BTW, I don't exactly think dmalloc is the best way for what we are going 
to do, since AFAIK it's general-purpose allocator, and what we need is 
more to the direction of fixed-size block allocator.
-- 
Stanislav Malyshev, Zend Products Engineer   
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.109



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to