03.04.2014 21:13, Dimitry Sibiryakov wrote:
>
> You was proposing to scan linked list of memory buffers looking for a free 
> one with a
> suitable size. Am I wrong?

If you think our memory manager is as simple as that, you're going to be 
surprised.

Yes, you're mostly correct. Given that I got your initial problem 
description right, it's unlikely to be more than two buffers in that 
list. And in 99% of cases, there will be only one, same as now. No 
performance penalty at all.

But even if I'm wrong, knowing that buffers can be extended but never 
shrinked, it won't take long to find a suitable one.


Dmitry


------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to