On Sun, Dec 18, 2011 at 8:09 PM, Matthew Mondor <mm_li...@pulsar-zone.net>wrote:

> If I remember SBCL inlines flet/labels by default, yet I'm unsure if
> this is always done or only for small functions, I assume the latter.
>

I am not very keen on this, at least not with the current code, because
analyzing what is large and what not is a bit complicated and can only be
done in the second phase of the analysis -- when everything is stored as a
list of structures and the lisp code is no longer recognizable.

In any case, if the FLET/LABELS function is small enough and is not closed
over variables, the C compiler will inline it most of the time.


> Is inlining also possible for setf functions?
>

Good question... Actually it does not work, but because of a stupid bug
that also prevents the compiler from analyzing any kind of compiler macro
for SETF forms. Will fix it later on.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to