> On Nov 7, 2021, at 2:17 PM, Jonas Maebe via fpc-pascal
> <[email protected]> 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 - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal