Here are ways of improving the execution speed of byte-compiled Lisp programs.
memq
, member
,
assq
, or assoc
is even faster than explicit iteration. It
may 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 (see section Functions that Operate on Arrays) while elt
is not
(see section Sequences):
(get 'aref 'byte-compile) => byte-compile-two-args (get 'elt 'byte-compile) => nil
Go to the first, previous, next, last section, table of contents.