> On Nov 7, 2021, at 2:17 PM, Jonas Maebe via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
>> Is there anyway a function parameter could be inlined in FPC? This would go 
>> a long way in helping to parameterize functions that have tight loops in 
>> them.
> 
> It's theoretically possible through constant propagation.

I understand simple constant propagation cases but how does this apply to 
inlining entire functions? I think C++ can do this with closures so it's 
something worth looking in to for the future.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to