On Wed, Feb 06, 2008, Alex Rousskov wrote:

> Ouch. I did not realize the two ended up in different classes.

yeah, neither did I until I started toying with it.

> doZeroOnPush has nothing to do with allocation and is not even used by
> MemAllocator, but it has to be there and not in MemPool because
> memPoolCreate macro returns MemImplementingAllocator and not a MemPool.

Well, it means that it too can be used in the MemMalloc class as well
as MemPool if one wished. Its just not done like that at the moment.

> Too much mess to untangle for this simple patch :-(. Let's commit the
> second version as is.

Done.




Adrian

Reply via email to