Inline expansion not found
Hi all,
I'm busy trying to get an idea of how to better optimize lisp code by
using various declarations. However I get the following warning when
compiling this code.
(declaim (ftype (function (single-float) single-float) foo)
(ftype (function (single-float) single-float) bar))
(defun bar (float)
(declare (optimize speed (safety 0) (debug 0) (float 0)))
(1+ float))
(defun foo (float)
(declare (optimize speed (safety 0) (debug 0) (float 0))
(inline bar))
(bar (1- float)))
;;;*** Warning in FOO: Inline expansion for BAR not found
Does anyone know how to get BAR inlined?
I've seen this in a couple of systems (eg. ironclad) and am quite
curious as to what causes it.
Thanks,
Sean.