[fpc-devel] Growing a memory stream

Vincent Snijders vsnijders at quicknet.nl
Mon Dec 11 20:45:18 CET 2006


peter green schreef:
>>> 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?
> sure but unless you are very lucky a call to reallocmem also means alocate-copy-deallocate. 

That is why I said "shortsighted" in my initial question :-)

Vincent



More information about the fpc-devel mailing list