Re: tail merging?
On 12 Dec 2005, at 10:55, David Tolpin wrote:
> Hi,
>
> how good is lispworks at tail-call (non-self) elimination? I have a
> pretty simple code with interchanging tail calls, and all while all
> other lisps optimize it into a loop, lispworks does not. I can work
> around it, but its a pity not to have this in a lisp.
See Section 9.4 in the LispWorks User Guide. Essentially, if debug<=2
tail calls will be merged, and if debug<2 and safety<2, self calls
will be optimized (IIUC).
Pascal
--
Pascal Costanza, mailto:pc@p-cos.net, http://p-cos.net
Vrije Universiteit Brussel, Programming Technology Lab
Pleinlaan 2, B-1050 Brussel, Belgium