help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Optimising Elisp code


From: Davin Pearson
Subject: Optimising Elisp code
Date: Thu, 4 Oct 2018 19:15:30 -0700 (PDT)
User-agent: G2/1.0

Suppose that you have a function:

(defun foo ()
   (bar))

And bar is a function that has no side effects and returns 123 then calling
the function code-optimize (the name of my optimisation routine)

M-x code-optimize on the function foo will result in the following defun 

(defun foo ()
    123)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]