Re: 20080207-squid3-nonzero-buffers.diff

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 7 Feb 2008 12:39:49 +0900

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
Received on Wed Feb 06 2008 - 20:27:59 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:09 MST