[fpc-pascal] Recursion optimization by compiler

Florian Klämpfl florian at freepascal.org
Sat Aug 28 11:57:03 CEST 2010


Am 03.09.2010 21:31, schrieb Sven Barth:
> On 03.09.2010 18:02, Marco van de Voort wrote:
>>
>>> Second, does FPC understand "tail recursion"?
>>
>> Depends on version, do
>>
>> fpc -i |grep -i tailrec
>>
>> to find out more.
> 
> O.o
> 
> Ok... now I'm officially impressed.

Well, simple to implement and useless optimization :)



More information about the fpc-pascal mailing list