[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tail recursion, again



    Date: Thu, 6 Sep 90 12:23 EDT
    From: barmar@Think.COM (Barry Margolin)

    No, that is most definitely not what I was thinking of.  There was a way
    to replace links to function cells with direct links to the function
    objects, to save a memory reference (and potential page fault) per
    function call.

That's CLI::LINK-TO-FUNCTIONS and CLI::UNLINK-TO-FUNCTIONS.  I have them
in my online documentation, as part of the MacIvory User's Guide, which
isn't the right place for them (they apply to all Ivory machines, and
we'd like to make it happen automatically eventually).  In addition to
the kinds of things you mention, they also let you skip argument
processing if you don't need to do it.

They are independent of tail recursion and the compiler.