[fpc-devel] Growing a memory stream

Micha Nelissen micha at neli.hopto.org
Mon Dec 11 19:59:27 CET 2006


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).

Micha



More information about the fpc-devel mailing list