[fpc-devel] Tail recursion optimization

Florian Klaempfl florian at freepascal.org
Tue Oct 10 10:39:21 CEST 2006


Micha Nelissen wrote:
> Florian Klaempfl wrote:
>> Yesterday, I've implemented tail recursion optimization
>> (http://svn.freepascal.org/svn/fpc/trunk/compiler/opttail.pas
>> resulting in
>> http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=158 pp11 is
>> the new
>> compiler, fpc11 the old, both are 2.1.1). It isn't enabled yet because
>> it still
>> needs some fine tuning. The question is however when should it be
>> enabled? With
>> -OoTAILREC? -O3? Something different?
> 
> It doesn't always improve performance ? It takes much more code ?

?



More information about the fpc-devel mailing list