Title: RE: APR_BUCKET_BUFF_SIZE question

I figured it has to do something with the way pools work. Would it make a difference if the buffer size used is always a multiple of APR_BUCKET_BUFF_SIZE? Like 16, 32, 64?

Do you know where the 8K number come from? Is it an empirical number or a theoretical one?

-----Original Message-----
From: Cliff Woolley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 09, 2003 6:25 PM
To: '[EMAIL PROTECTED]'
Subject: Re: APR_BUCKET_BUFF_SIZE question


On Wed, 9 Jul 2003, Juan Rivera wrote:

> That way a filter could ask for more or less bytes than the 8K.

That's what apr_brigade_partition() is for.  Does that not get you what
you want?  And anyway, having a runtime-configurable buffer size would
make the bucket allocator WAY more complicated and less efficient...

--Cliff

Reply via email to