[fpc-devel] Growing a memory stream

Vincent Snijders vsnijders at quicknet.nl
Mon Dec 11 20:27:56 CET 2006


Micha Nelissen schreef:
> Vincent Snijders wrote:
>> A (maybe shortsighted) drawback would be that it doubles the amount of
>> needed memory, once for the list and once for the memory pointed to with
>> Memory?
> 
> Well, the linked list would be freed (or the first item of it enlarged
> to the total size, depending on implementation details).

Still, the peak memory use will twice the size, won't it?

Vincent



More information about the fpc-devel mailing list