Hi,
You can try to write 2 similar defun, one using quote and the other using function:
)
(defun functionLambda
(l
) )
Save them in a .lsp file.
Compile the file into .vlx
Run a benchmark calling the 2 functions, you'd see functionLambda running 2 times faster than quoteLambda.
$ (setq l '(1 2 3 4 5 6 7 8 9 ))
(1 2 3 4 5 6 7 8 9)
_$ (benchmark '((quoteLambda l) (functionLambda l)))
Benchmarking ...................Elapsed milliseconds / relative speed for 65536 iteration(s):
(FUNCTIONLAMBDA L).....1029 / 2.2 <fastest>
(QUOTELAMBDA L)........2262 / 1 <slowest>