<div class="gmail_quote">On Sun, Dec 18, 2011 at 8:09 PM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net">mm_lists@pulsar-zone.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I remember SBCL inlines flet/labels by default, yet I'm unsure if<br>
this is always done or only for small functions, I assume the latter.<br></blockquote><div><br></div><div>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.</div>
<div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is inlining also possible for setf functions?<br></blockquote></div><br>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.<div>
<br></div><div>Juanjo<br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>