comparison lispref/sequences.texi @ 76987:5ff602c4ef45

Improve index entry.
author Richard M. Stallman <rms@gnu.org>
date Sat, 07 Apr 2007 01:45:55 +0000
parents f64aa3622a9d
children a1e16e813aed 4ef881a120fe
comparison
equal deleted inserted replaced
76986:469570420bff 76987:5ff602c4ef45
386 The general sequence functions @code{copy-sequence} and @code{length} 386 The general sequence functions @code{copy-sequence} and @code{length}
387 are often useful for objects known to be arrays. @xref{Sequence Functions}. 387 are often useful for objects known to be arrays. @xref{Sequence Functions}.
388 388
389 @node Vectors 389 @node Vectors
390 @section Vectors 390 @section Vectors
391 @cindex vector 391 @cindex vector (type)
392 392
393 Arrays in Lisp, like arrays in most languages, are blocks of memory 393 Arrays in Lisp, like arrays in most languages, are blocks of memory
394 whose elements can be accessed in constant time. A @dfn{vector} is a 394 whose elements can be accessed in constant time. A @dfn{vector} is a
395 general-purpose array of specified length; its elements can be any Lisp 395 general-purpose array of specified length; its elements can be any Lisp
396 objects. (By contrast, a string can hold only characters as elements.) 396 objects. (By contrast, a string can hold only characters as elements.)