バイトコンパイルされた関数は、C言語で書かれたプリミティブ関数ほど効率的ではありませんが、Lispで書かれたバージョンよりははるかに高速に動作します。以下に例を示します。
(defun silly-loop (n)
"Return the time, in seconds, to run N iterations of a loop."
(let ((t1 (current-time)))
(while (> (setq n (1- n)) 0))
(float-time (time-since t1))))
⇒ silly-loop
(silly-loop 100000000) ⇒ 2.236908583
(byte-compile 'silly-loop)
⇒ [Compiled code not shown]
(silly-loop 100000000) ⇒ 0.374873305
この例では、インタプリタ形式のコードはバイトコンパイル形式のコードに比べて約6倍低速でした。これらの結果は代表的なものですが、実際の結果は異なる場合があります。