[fpc-pascal] 3123 inherited not supported inside inline
Hairy Pixels
genericptr at gmail.com
Sun Jun 25 06:55:20 CEST 2023
> On Jun 24, 2023, at 10:27 PM, Michael Van Canneyt via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> It seems to me no gain is to be had from e.g. inlining a routine of 500+ lines
> of code.
What if the function was only called from 3 places in the program and each one of those was in something with very long loops, say 1 million iterations? If you inline you'd get only an extra 1000 lines of code size but save 3 million function calls which could be a big savings.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list