[fpc-devel] Russian locale informationnotcompatible withFPClocalevariables

Daniël Mantione daniel.mantione at freepascal.org
Thu Jul 31 11:20:29 CEST 2008


Op Thu, 31 Jul 2008, schreef Michael Schnell:

>
>> 
>> procedure x(const s:integer);
>> var a:array[0..s] of byte;
> I never understood why this is not possible in Pascal.
>
> OTOH with dynamic arrays this is not really necessary any more, but 
> non-dynamic arrays of course can be faster than dynamic arrays.

This is indeed the point, stack allocations are magnitudes faster than 
heap allocations.

Daniël


More information about the fpc-devel mailing list