<div class="gmail_quote">On Sun, Feb 7, 2010 at 12:25 PM, Tobias C. Rittweiler <span dir="ltr"><<a href="mailto:tcr@freebits.de">tcr@freebits.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
(defun test (fn)<br>
(declare (type function fn))<br>
fn)<br>
<br>
;;; Compiling /tmp/frob.lisp.<br>
;;; OPTIMIZE levels: Safety=3, Space=0, Speed=1, Debug=3<br>
;;; Compiling (DEFUN TEST ...).<br>
;;; Note: in file /tmp/frob.lisp, position 0, and form<br>
;;; (FSET 'TEST #'(LAMBDA-BLOCK TEST # ...))<br>
;;; In function TEST, checking types of arguments FN.<br>
<br>
What's the point of that note?<br></blockquote><div><br></div><div>This means ECL is going to produce a very expensive type check for each of the arguments of TEST.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Another thing:<br>
<br>
I find the "Invoking external command" notes just noise.</blockquote><div><br></div><div>Use .ecl or .eclrc and add COMPILER-NOTE to the type C:*suppress-compiler-messages* (this is a lisp type specifier, not a list) which represents the type of notes and messages that are suppressed, or set C::*SUPPRESS-COMPILER-NOTES* to T and get rid of everything which is not a warning or an error.</div>
<div><br></div><div>Juanjo</div><div> </div></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>