[fpc-devel] Growing a memory stream

Micha Nelissen micha at neli.hopto.org
Mon Dec 11 16:51:19 CET 2006


Vincent Snijders wrote:
> Hi,
> 
> Currently the TMemoryStream grows in steps of 4096 bytes.

Very nice would be a linked list of 8KB blocks or so, and when you 
access .Memory, then it's copied into an array.

Micha



More information about the fpc-devel mailing list