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

**DRAFT** issue COMPILED-FUNCTION-REQUIREMENTS, version 2



re: MacLisp had a SUBRCALL function, which was
    just like FUNCALL but required its first argument to be a compiled
    function, and it seems like any Lisp for conventional processors could
    make use of such an optimization. 

And indeed Lucid Common Lisp has a just such function (and also another 
one corresponding to APPLY).  These have not been exported to end users 
yet, but are solely used in compiler optimizers etc.  I'm not exactly sure 
how much optimization they provide, but there should be no real obstacle 
to making:
     (FUNCALL (THE COMPILED-FUNCTION x) ...)
turn into
     (FUNCALL-INTERNAL x ...)
at least in low safety modes.


-- JonL --