[fpc-devel] XML node dump feature

Ben Grasset operator97 at gmail.com
Tue Jun 25 18:18:52 CEST 2019


On Tue, Jun 25, 2019 at 11:58 AM J. Gareth Moreton <
gareth at 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 <
gareth at 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".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190625/d9650033/attachment-0001.html>


More information about the fpc-devel mailing list