Out of curiousity, when you have nested FLET's can you get inlining:
(flet ((foo (x)
1))
(flet ((zot (x)
(foo x)))
(zot x)))
It'd be nice to inline FOO in ZOT.
Thanks,
Tunc
In article <·················@EECS.Berkeley.Edu>,
Hidayet Tunc Simsek <······@EECS.Berkeley.Edu> wrote:
>Out of curiousity, when you have nested FLET's can you get inlining:
>
> (flet ((foo (x)
> 1))
> (flet ((zot (x)
> (foo x)))
> (zot x)))
You're supposed to request it with DECLARE:
(flet ((foo (x)
1))
(declare (inline foo))
(flet ((zot (x)
(foo x)))
(declare (inline zot))
(zot x)))
Note that INLINE is merely a request; an implementation is not required to
honor it.
--
Barry Margolin, ······@bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.