[fpc-pascal] Getting fast output
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Jul 22 09:06:45 CEST 2008
On 22 Jul 2008, at 06:29, leledumbo wrote:
> Peter Vreman wrote:
>>
>> http://www.freepascal.org/docs-html/rtl/system/settextbuf.html
>> http://www.freepascal.org/docs-html/rtl/system/settextbuf.html
>>
> Oh, yeah! I forgot to mention this. But declaring the buffer will
> eat spaces
> ,for instance:
> ...
> var
> Buf: array [0..65535] of Byte;
> ...
> will add 64k to the executable because it's allocated on the stack.
You can also allocate it on the heap.
Jonas
More information about the fpc-pascal
mailing list