changeset 8669:62d1138d10de

entered into RCS
author Richard M. Stallman <rms@gnu.org>
date Tue, 30 Aug 1994 19:32:53 +0000
parents 011660f7aae9
children 1b4786e3de7a
files lispref/tips.texi
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/tips.texi	Tue Aug 30 07:20:23 1994 +0000
+++ b/lispref/tips.texi	Tue Aug 30 19:32:53 1994 +0000
@@ -163,6 +163,15 @@
 these functions with one or two lines of simple Lisp code.
 
 @item
+Use lists rather than vectors, except when there is a particular reason
+to use a vector.  Lisp has more facilities for manipulating lists than
+for vectors, and working with lists is usually more convenient.
+
+Vectors are advantageous for tables that are substantial in size and are
+accessed in random order (not searched front to back), provided there is
+no need to insert or delete elements (only lists allow that).
+
+@item
 The recommended way to print a message in the echo area is with
 the @code{message} function, not @code{princ}.  @xref{The Echo Area}.