8 ms·
The purpose of a vector in Lisp is to provide contiguous storage with integer index addressing and O(1) access time. Cons cells are typically used to provide l
by lispm 2y ago
The purpose of a vector in Lisp is to provide contiguous storage with integer index addressing and O(1) access time.
Cons cells are typically used to provide lists with O(n) access time.