On Tue, Jun 25, 2019 at 11:58 AM J. Gareth Moreton < gar...@moreton-family.com> wrote:
> While pure and inline do have a lot of overlap and, internally, probably > share some features for convenience (like a copy of the node tree), they > are not the same > Oh yeah, not arguing that at all. Again I just meant they'd be, practically speaking, much *closer* to the same from the viewpoint of an average programmer without `pure` having constant initialization capabilities. On Tue, Jun 25, 2019 at 11:58 AM J. Gareth Moreton < gar...@moreton-family.com> wrote: > recursive functions can be pure, but not inline > That's actually not true! Try it yourself. IIRC FPC will happily inline recursive functions into themselves by at least one full "pass".
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel