|
From: | LanX |
Subject: | Re: What is the difference between defsubst and defun ? |
Date: | Sat, 4 Dec 2010 16:27:40 -0800 (PST) |
User-agent: | G2/1.0 |
it's documented see http://www.gnu.org/software/emacs/elisp/html_node/Inline-Functions.html in short it's a function which is not called but the body is copied in place ("inline") like a macro. Like this the overhead of a function call is safed with the disadvantage of expanded code size. Perl has a limited support for inline functions.
[Prev in Thread] | Current Thread | [Next in Thread] |