[fpc-devel] Question on updating FPC packages

Marco van de Voort fpc at pascalprogramming.org
Thu Oct 31 20:11:30 CET 2019


Op 2019-10-30 om 23:02 schreef Florian Klämpfl:
>
> Yes. And manually adding inline is only as good as the knowledge of 
> the user doing so. If somebody implements it right (I did not, I used 
> the easiest approach and used an existing function to estimate the 
> complexity of a subroutine). The compiler can just count the number of 
> the generate instructions or even calculate the length of the 
> procedure and then decide to keep the node tree for inlining.

Well, it depends of course of what happens when. Would you really count 
final instructions or cycles after all optimization and peephole passes ?




More information about the fpc-devel mailing list