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.
Cons cells are typically used to provide lists with O(n) access time.
No comments yet.