[pro] substitution macro lisp extension?

Hans Hübner hans.huebner at gmail.com
Wed Sep 22 15:24:33 UTC 2010


On Wed, Sep 22, 2010 at 17:18, Daniel Weinreb <dlw at itasoftware.com> wrote:
> How is this different from using an "inline" declaration?

Some compilers ignore inline declarations.  With defsubst, you are not
at the mercy of the compiler.  I have used defsubst (Allegro CL has
it) in places where I was absolutely sure that inlining was the right
thing to do.  Then again, Allegro CL had me do that because it ignores
inline declarations, so the whole thing may be a non-issue with other
compilers.

-Hans




More information about the pro mailing list