On 07/11/2021 05:26, Ryan Joseph via fpc-pascal 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.

If there isn't I wonder if this is an area where the proposed "pure" function 
modifier could be used to make it possible.

That's completely unrelated.


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

Reply via email to