[ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
Here are ways of improving the execution speed of byte-compiled Lisp programs.
benchmark-run
and
benchmark-run-compiled
in ‘benchmark.el’.
memq
, member
,
assq
, or assoc
is even faster than explicit iteration. It can
be worth rearranging a data structure so that one of these primitive search
functions can be used.
byte-compile
property. If the property is non-nil
, then the function is handled
specially.
For example, the following input will show you that aref
is compiled
specially (voir la section Functions that Operate on Arrays):
(get 'aref 'byte-compile) ⇒ byte-compile-two-args |
Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.