[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
**DRAFT** issue COMPILED-FUNCTION-REQUIREMENTS, version 2
- To: barmar@Think.COM
- Subject: **DRAFT** issue COMPILED-FUNCTION-REQUIREMENTS, version 2
- From: Jon L White <jonl@lucid.com>
- Date: Tue, 10 Jan 89 23:24:01 PST
- Cc: cl-compiler@sail.stanford.edu
- In-reply-to: Barry Margolin's message of Tue, 10 Jan 89 17:04 EST <19890110220402.8.BARMAR@OCCAM.THINK.COM>
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 --