[Botan-devel] Why Pooling_Allocator?

Jack Lloyd lloyd at randombit.net
Thu Oct 13 11:38:20 EDT 2005


On Thu, Oct 13, 2005 at 08:25:39PM +0800, Matt Johnston wrote:
> The attached patch improves performance considerably, though
> I'm only guessing as to when remove_empty_buffers() is meant
> to be called.

Oh, and to answer your question: it should be called whenever there are enough
empty buffers in the vector to make it worthwhile to remove them. So you
guessed correctly here.

-Jack



More information about the botan-devel mailing list